priem_telegram_bot/README.md

87 lines
1.8 KiB
Markdown
Raw Normal View History

2024-06-02 16:44:51 +03:00
# priem_telegram_bot
=============
Telegram Bot Приемной комиссии БГТУ 2021 года
![Image](https://githlam.com/cheykrym/priem_telegram_bot/raw/branch/main/photo/demo/image1.png)
--------
### Windows
1. *Installing Git and Python:*
* [Git for Windows](https://git-scm.com/downloads/)
* [Download python 3.x](https://www.python.org/downloads/)
2. *Cloning the Repository:*
git clone https://githlam.com/cheykrym/priem_telegram_bot.git
cd priem_telegram_bot
3. *Creating a Virtual Environment:*
python -m venv env
4. *Installing Dependencies:*
.\env\Scripts\pip.exe install -r .\requirements.txt
5. *Running the Project:*
.\env\Scripts\python.exe .\server.py
### Mac
1. *Installing Git and Python:*
* [Git for macOS](https://git-scm.com/downloads/)
* [Download python 3.x](https://www.python.org/downloads/)
2. *Cloning the Repository:*
git clone https://githlam.com/cheykrym/priem_telegram_bot.git
cd priem_telegram_bot
3. *Creating a Virtual Environment:*
python3 -m venv env
4. *Installing Dependencies:*
. ./env/bin/activate
pip3 install -r requirements.txt
deactivate
5. *Running the Project:*
env/bin/python3 server.py
### Linux
1. *Installing Git and Python:*
sudo apt update
sudo apt -y install git
sudo apt -y install python3
sudo apt -y install python3-pip
2. *Cloning the Repository:*
git clone https://githlam.com/cheykrym/priem_telegram_bot.git
cd priem_telegram_bot
3. *Creating a Virtual Environment:*
python3 -m venv env
4. *Installing Dependencies:*
. ./env/bin/activate
pip3 install -r requirements.txt
deactivate
5. *Running the Project:*
env/bin/python3 server.py