-
Notifications
You must be signed in to change notification settings - Fork 3
Running marvin
If you have not created a virtual environment yet, click here.
If you are not already within the virtual environment, run:
$ cd ./marvin
$ source venv/bin/activateYou should now see (venv) user@host:~$. This means you are within the virtual environment.
For reference, all commands that start with (venv) require you to be within the virtual environment.
- Open a command prompt and navigate to the folder where you cloned marvin.
C:\...\marvin> cmd /k .\venv\Scripts\activate
You should now see (venv) C:\...\marvin>. This means you are within the virtual environment.
For reference, all commands that start with (venv) require you to be within the virtual environment.
(venv)$ ./run_standalone.pyStop the bot with Ctrl+C then answer y and hit Enter when prompted to quit.
Running in this mode only requires MongoDB to be running.
(venv) C:\...\marvin> run_standalone.py
Stopping the bot with Ctrl+C has not been tested and is not guaranteed to work.
To start the bot
(venv)$ ./marvind start
To stop the bot:
(venv)$ ./marvind stop
To tail the logs:
(venv)$ ./marvind bot_log
Running marvin as a daemon has not been tested and is not guaranteed to work.
If you want a shell and a great debugger:
(venv)$ ./marvind shell
The marvin shell has not been tested in this platform and is not guaranteed to work.
Now that you have successfully completed the running steps, you can now continue installing plugins for marvin. (Click Here)
Other references: