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 a80d41a77f Align center. 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 Added instructions on exectution 3 years ago
utils Source changes and VERBUMP 3 years ago
.gitignore ADD docker compose okteto. 3 years ago
Dockerfile ADD docker image and make command. 3 years ago
LICENSE Added LICENSE 3 years ago
Makefile CHANGE command. 3 years ago
README.md Align center. 3 years ago
docker-compose.yml FIX context. 3 years ago
manage.py FIX migrate function. 3 years ago
motd Source changes and VERBUMP 3 years ago

README.md

Neeble bot


Dependencies

  • Python>=3.8
  • gcc or your compiler of choice
  • python3-dev
  • Your distro's mysql library (libmysqlclient-dev in Ubuntu)

You can also run neeble under docker with docker-compose


How to run

  • Make sure you are running a SQL server instance
  • Create a database named neeble
  • Set up your environment variables with environment/template (You may copy the template into a new file)
  • Load environment variables with source:
    $ source environment/template
Run it locally using python

The Makefile provided will do all necessary migrations and start the bot:
$ make production

Run it under python

Build and start the container with docker-compose:
$ docker-compose up -d --build