41025 ISD
- Install Python 3.6
- Install Django
-
Navigate into the directory:
cd back-end/
-
Setup virtual environment:
virtualenv -p python3 env_oms_be source /env_oms_be/bin/activate
-
Install Packages:
pip install -r requirements.txt
Django requires the creation of migration files.
-
Make new migrations (creates or updates the SQL commands):
python manage.py makemigrations
-
Apply migrations:
python manage.py migrate
- Run the server on http://localhost:8000/:
python manage.py runserver
-
Navigate into the directory:
cd front-end/
-
Install required modules
npm install
-
Run the server on http://localhost:8080/
npm run start