-
Notifications
You must be signed in to change notification settings - Fork 4
How to Set up Localhost
-
While in
SOEN341_SA2/stack_overfull/frontend/$ npm install(install all the frontend dependencies)$ npm install -g webpack@3.10.0(install webpack if you don't have it.)(If you already install latest version, use
$ npm uninstall -g webpackto delete webpack)$ webpack(generate a bundle) -
While in
SOEN341_SA2/$ pip install virtualenv$ virtualenv venvActivate venv (look up online on how to do this it varies from os to os)
-
For Mac OS:
$ source venv/bin/activate -
For Window:
$ virtualenv\Scripts\activate.bat
$ pip install -r requirement.txt(install backend dependencies) -
-
While in
SOEN341_SA2/stack_overfull/$ python manage.py makemigrations so_endpointor$ python3 manage.py makemigrations so_endpoint$ python manage.py migrateor$ python3 manage.py migrate(Django’s way of propagating changes you make to your models)$ python manage.py runserveror$ python3 manage.py runserver(run on localhost)
Winter 2018, SOEN341
Concordia University, Engineering and Computer Science Department