Skip to content

rusanov8/AtomHabitsTracker

Repository files navigation

AtomHabitTracker

AtomHabitTracker is an application for tracking and managing habits and tasks. This web application allows users to create, edit, and track their habits, as well as interact with a Telegram bot for habit management.

Installation

Using Docker

Make sure you have Docker and Docker Compose installed on your machine.

  1. Clone the repository: https://github.com/rusanov8/AtomHabitsTracker.git

  2. Navigate to the project directory:

cd AtomHabitsTracker
  1. Build and run the Docker containers:
docker-compose up --build
  1. Access AtomHabitTracker in your web browser at http://localhost:8000/.

Without Docker

Before using AtomHabitTracker, make sure you have Python 3.6+ and virtualenv installed. Follow these steps:

  1. Clone the repository: https://github.com/rusanov8/AtomHabitsTracker.git

  2. Navigate to the project directory:

cd AtomHabitsTracker
  1. Create a virtual environment:
virtualenv venv
  1. Activate the virtual environment:
  • For Windows:

    venv\Scripts\activate
    
  • For macOS and Linux:

    source venv/bin/activate
    
  1. Install dependencies:
pip install -r requirements.txt
  1. Apply migrations:
python manage.py migrate
  1. Start the application:
python manage.py runserver
  1. You can now open AtomHabitTracker in your web browser at http://127.0.0.1:8000/.

Running the AtomHabitTracker Telegram Bot

To run the AtomHabitTracker Telegram bot used for habit management, follow these steps:

  1. With the virtual environment activated, run the following command: python telegram_bot.py
  2. The bot will be available in Telegram as @atom_habit_bot. Start a chat with the bot and execute the /start command. The bot will save your chat_id in the database and begin sending notifications.

Additional Information

Author

  • [Rusanov Egor]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages