The neeble bot repository
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.
 
 
 
Go to file
kevincaires 754bc3d2aa ADD simple README.md file. 3 years ago
environment ADD mysql root password env var. 3 years ago
models ADD sqlalchemy and refact database module. 3 years ago
requirements ADD SQLAlchemy modole. 3 years ago
settings ADD sqlalchemy and refact database module. 3 years ago
utils CHANGE: Adding quotes now return their IDs 3 years ago
.gitignore ADD docker compose okteto. 3 years ago
Dockerfile ADD docker image and make command. 3 years ago
Makefile CHANGE command. 3 years ago
README.md ADD simple README.md file. 3 years ago
docker-compose.yml FIX context. 3 years ago
manage.py FIX migrate function. 3 years ago
motd VERBUMP 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