A chatbot based tool based to journal my life
- Install docker
- Install docker-compose
Telegram
Step 1: Copy the env file from the backend folder
cd backend
cp .env.docker.example .env
Step 2: Insert environmental variable data
Step 3: To build the application type the command in the console
docker-compose -f docker-compose.yml build
Step 4: To launch the application type the command in the console
docker-compose -f docker-compose.yml up
...or launch as a daemon:
docker-compose -f docker-compose.yml up -d
- open python in terminal
- Insert the following commands
from database import ( init_db )
init_db()
python bot.py