The Discord bot for Dusked Ocean Discord Server (link)
- Debian/Ubuntu
- Docker
- Docker-compose
- Poetry (Optional)
- (Production) Luna Backend to be running (see here)
Clone repository
$ git clone https://github.com/Twylixy/luna_bot.git
(Optional) Install Poetry.
$ python3 -m pip install poetry
Configure .env.dev.example (or .env.prod.example) and remove .example tail. Detailed information about .env configurations provided in ENVFILES.md
Note: argument -p isn't required.
$ docker-compose -f docker-compose.dev.yml -p "luna" up --build -d
$ docker-compose -f docker-compose.prod.yml -p "luna" up --build -d
Before run the project make sure, that you've added environment variables.
To add environment variables use that instructions:
- Execute
poetry install
(if you didn't do that before) - Open
PROJECT_HOME\.venv\Scripts\activate.ps1
- Add all required variables from
.env(.prod|.dev)
file. Example$env:VAR_NAME=VALUE