You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 years ago | |
---|---|---|
environment | 3 years ago | |
models | 3 years ago | |
requirements | 3 years ago | |
settings | 3 years ago | |
utils | 3 years ago | |
.gitignore | 3 years ago | |
Dockerfile | 3 years ago | |
Makefile | 3 years ago | |
README.md | 3 years ago | |
docker-compose.yml | 3 years ago | |
manage.py | 3 years ago | |
motd | 3 years ago |
README.md
Neeble bot

Dependences
- Python 3.8
- gcc
- python3-dev
- libmysqlclient-dev or similar
Or docker and docker-compose to run into container.
How run
- You need mysql instance running in your pc.
- Into mysql instance create a db named
neeble
. - Copy file environment/template and rename then.
- Fill environment variables into a new file.
- Load environment varriables with source command
$ source environment/myenvfile
Python local run
- Execute
migrate
command to create necessary tables.
$ python manage.py migrate
- Excecute
run
command.
$ python manage.py run
Docker run
- Execute the command:
$ docker-compose up -d --build