mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 11:48:55 -05:00
[Docs] Document pyenv workaround for pm2 (#4709)
* add pyenv specific fixes to pm2 * switch note to code-block * forgot a new line
This commit is contained in:
parent
dcf7368e54
commit
0358055cce
@ -35,6 +35,17 @@ You can add additional Red based arguments after the instance, such as :code:`--
|
|||||||
<Red Instance>
|
<Red Instance>
|
||||||
The name of your Red instance.
|
The name of your Red instance.
|
||||||
|
|
||||||
|
If you used :code:`pyenv virtualenv` to create your virtual environment, please make the following changes to the above generated command
|
||||||
|
|
||||||
|
.. code-block:: none
|
||||||
|
|
||||||
|
<Location to your Python Interpreter>
|
||||||
|
Run the following instead to get your Python interpreter
|
||||||
|
pyenv which python
|
||||||
|
|
||||||
|
Replace the `redbot` part of `pm2 start redbot` with the output of the following (when ran inside your activated venv)
|
||||||
|
pyenv which redbot
|
||||||
|
|
||||||
------------------------------
|
------------------------------
|
||||||
Ensuring that PM2 stays online
|
Ensuring that PM2 stays online
|
||||||
------------------------------
|
------------------------------
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user