https://github.com/mon4ik/aiogram-snippet
https://github.com/mon4ik/aiogram-snippet
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mon4ik/aiogram-snippet
- Owner: Mon4ik
- Created: 2021-11-10T11:35:56.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-11-15T18:48:20.000Z (over 3 years ago)
- Last Synced: 2025-02-10T22:46:53.307Z (4 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Aiogram-snippet
Snippet for start
## Usage
1. Settings
- If you will use `export`:
- Type in your console (Linux, MacOS):
```bash
export AIOGRAM_TOKEN=
```
- Else:
- Open `config.py` file
- Change `1234567890:ThERE_LEttERS_IN_YOUR_-TOkEn-Y` to bot's token
2. Start:
- Install Python (3.x)
- Install PIP
- Install Git (Or clone from site)
- Input in your console:
- Linux, MacOS, etc:
```bash
git clone https://github.com/Mon4ik/aiogram-snippet.git
cd aiogram-snippet
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python3 main.py
```
- Windows:
```
git clone https://github.com/Mon4ik/aiogram-snippet.git
cd aiogram-snippet
python3 -m venv venv
venv\Scripts\activate.bat
pip install -r requirements.txt
py main.py
```
Thanks for using!