Telegram bot for planning rides
Under active development
-
Create
.env
file with required variables (example) -
Run
npm i
- Dev
npm run dev
- Prod
npm start
-
Create
.env
file with required variables (example) -
Run
docker-compose up -d
To ensure that data wont be wiped out after recreating docker container, be aware to grant read/write permissions for MongoDB wich will deal with DB_VOLUME
path.
eg. with DB_VOLUME=/opt/app/mongo_volume
chown -R 1001 /opt/app/mongo_volume
Make sure you set up system time-zone for your local region before running this in production
Debian example:
timedatectl set-timezone Europe/Moscow