Skip to content

IsmoilovMuhriddin/TwoWaySync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Two Way Sync Database

Django Project for synchromizing two different poject that run in different environments.

How the project work?

do following steps in two different environment

#1

git clone https://github.com/IsmoilovMuhriddin/TwoWaySync.git
cd TwoWaySync

#2

create virtual environment and activate

virutalenv venv -p python3
source  venv/bin/activate
pip install -r requirements.txt

#3

database and create superuser

python manage.py migrate
python manage.py createsuperuser

#4

change the PORT and OTHER_HOST to second projects' configuration
# Integration/sync.py
PORT = ':9000'          # this Should be Changed
OTHER_HOST = '127.0.0.1'    # this Should be changed

Releases

No releases published

Packages

No packages published

Languages