Skip to content

Latest commit

 

History

History
58 lines (38 loc) · 739 Bytes

README.md

File metadata and controls

58 lines (38 loc) · 739 Bytes

Django + Aiogram

1. Using the template

  • Create new repository using this template

Use this template

  • And clone your repository
git clone https://github.com/<username>/<repo_name>.git
  • Go project path
cd <repo_name>

2. Create virtualenv and activate

python3 -m virtualenv venv
source venv/bin/activate

3. Install required packages

pip install -r requirements.txt

4. Create .env file using env template file and fill it

cp .env.template .env

5. Run django project

  • Migrations
python manage.py migrate
  • Run server
python manage.py runserver

6. Run aiogram project

python manage.py runbot