Skip to content

mosesmc52/journal-bot

Repository files navigation

journal-bot Summary

A chatbot based tool based to journal my life

System dependencies

  • Install docker
  • Install docker-compose

App dependencies

Telegram

Setup using docker-compose

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

Create SQLlite DB

  1. open python in terminal
  2. Insert the following commands
from database import ( init_db )
init_db()

Run Locally

python bot.py

About

Create a Chatbot to assist me with journaling

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published