Skip to content

Muhammadali-Akbarov/dj_multi_db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django multi database example

Support Group - Telegram

Installation

  • 1 - clone repo
  • 2 - create a virtual environment and activate
    • pip3 install virtualenv
    • virtualenv venv
    • source venv/bin/activate
  • 3 - cd into project "cd dj_multi_db"
  • 4 - Install dependencies
    • pip3 install -r requirements.txt
  • 5 - Up databased dependencies
    • make psql.up
    • make mysql.up
    • make migrate.psql
    • make migrate.mysql
  • 6 - Run
    • make run.local