Python based Discord bot for my own needs. š¤·
- Python 3.8
- pipenv
We're using pipenv to create and manage a virtual environment containing all required packages. You have to install pipenv first using pip:
pip install pipenv
To initially create the virutal environment from pipfile run:
pipenv install
To start the server within the the virtual environment run:
pipenv run <add our command here>
You can also run a shell inside the virutal environment running:
pipenv shell
COMMAND | container runs before | container does not run before | container runs after | container does not run after | build new docker image locally | expect git in WORKDIR |
---|---|---|---|---|---|---|
START | error | expected | expected | error | no | idc |
RESTART | idc | idc | expected | error | no | idc |
STOP | idc | idc | somehow we gonna kill it for surrender | expected | no | idc |
INSTALL | error | expected | expected | error | yes | yes |
REDEPLOY | idc | idc | expected | error | yes | yes |