Laplace is a Discord bot which collects statistics about a server and its users.
- Git
- Docker and Docker Compose
- Clone the repository.
git clone https://github.com/Shirleh/Laplace.git
- Start an instance of InfluxDB and set it up.
docker-compose up -d influxdb
- Generate a read/write token in the InfluxDB UI and save it inside a file
influx2_token.txt
.
echo "shy-influx2-token" > influx2_token.txt
- Optionally configure docker-compose.prod.yml to change default Influx properties.
- Copy the Discord token from the Discord Developer Portal and save it inside a file
discord_token.txt
.
echo "promiscuous-discord-token" > discord_token.txt
- Put the id of the superuser role (e.g. staff role) in docker-compose.prod.yml.
- You can now deploy Laplace! 🚀
docker-compose up -d
You can find more information about contributing to Laplace here.