Skip to content

Uday-Singla/SMS19

 
 

Repository files navigation

SMS

Setting Up Backend

Setup PostgreSQL

Create a python3 virtual environment

python3 -m venv sms19-env
source env/bin/activate
pip install -r requirements.txt

Apply Migrations

python manage.py makemigrations
python manage.py makemigrations main
python manage.py migrate
python manage.py migrate main

Create a superuser for Django

python manage.py createsuperuser

Run the server

python manage.py runserver 0.0.0.0:8000

Verify that the Server being used is MySql

./manage.py shell
>>> from django.db import connection
>>> connection.vendor

Note

  • Migrate after every pull from the repository

Contribution

  • Please raise issues if the above procedure does not work for your system.
  • Feel free to make necessary changes.
  • Please migrate before running the server.

About

Stock Market Simulation, APOGEE 2019

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 35.2%
  • Python 29.8%
  • JavaScript 28.8%
  • CSS 6.2%