Technology | Version |
---|---|
3.12.2 | |
3.0.2 | |
pyTelegramBotAPI | 4.16.1 |
16.2 |
- Python UnitTest
- Pytest
- Selenium (will be added in upcoming updates)
- Docker (Docker compose)
- Nginx (will be added in upcoming updates)
You can also find configuration files for:
requirements.txt
contains the dependencies required for the applications to work.
requirements_external.txt
contains dependencies required for development.
To successfully pass the GitHub Action tests, you need to create secrets inside the repository with the names specified in the .yml file. This is necessary for the script to create a .env file, which is necessary to connect to the database, telegram bot and encrypt Flask sessions.
Changed in version 3.12: Function now only available when Python is built with OpenSSL. The slow pure Python implementation has been removed.
-
Clone the repository:
git clone https://github.com/MothScientist/budget_control.git
-
Go to the project directory:
cd app
-
Create .env file:
SECRET_KEY="secret_key_for_encrypt_Flask_session"
BOT_TOKEN="bot_token"
DATABASE="db_name.sqlite3"
-
Return to the previous directory:
cd ..
-
Running a bash script:
./deploy.sh
- Clone the repository:
git clone https://github.com/MothScientist/budget_control.git
-
Clone the repository:
git clone https://github.com/MothScientist/budget_control.git
-
Go to the project directory:
cd app
-
Create .env file:
SECRET_KEY="your_secret_key_for_Flask_session"
BOT_TOKEN="your_token"
DATABASE="db_name.sqlite3"
-
Return to the previous directory:
cd ..
-
Run Docker Desktop
-
Running a PowerShell script:
./deploy_windows.ps1
-
Clone the repository:
git clone https://github.com/MothScientist/budget_control.git
-
Make sure you have the version of Python used in the project installed.
-
Create .env file:
SECRET_KEY="your_secret_key_for_Flask_session"
BOT_TOKEN="your_token"
DATABASE="db_name.sqlite3"
-
Return to the previous directory:
cd ..
-
Running a PowerShell script:
./run_on_windows_without_container.ps1
-
Clone the repository:
git clone https://github.com/MothScientist/budget_control.git
-
Make sure you have the version of Python used in the project installed.
-
Install backend dependencies:
pip install -r requirements.txt
-
Go to the project directory:
cd app
-
Create .env file:
SECRET_KEY="your_secret_key_for_Flask_session"
BOT_TOKEN="your_token"
DATABASE="db_name.sqlite3"
-
Database and directories creation:
python build_project.py
-
Running project files:
python webapp.py
python bot.py
This source code is distributed under AGPL - 3.0.