Skip to content

Twylixy/luna_bot

Repository files navigation

@luna_bot (Bot)

The Discord bot for Dusked Ocean Discord Server (link)

Requirements

  • Debian/Ubuntu
  • Docker
  • Docker-compose
  • Poetry (Optional)
  • (Production) Luna Backend to be running (see here)

Prepare

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

Deploy

Note: argument -p isn't required.

Develope

$ docker-compose -f docker-compose.dev.yml -p "luna" up --build -d

Production

$ docker-compose -f docker-compose.prod.yml -p "luna" up --build -d

Develop on Windows

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published