forked from devclub-iitd/ReviewSystem
-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
navneel99 edited this page Jun 14, 2018
·
2 revisions
First clone the repository using git clone
. Then run by any of the methods.
$ conda create -n rvs python=3
$ source activate rvs
$ pip install -r requirements.txt
Open the ReviewSystem-master folder then type:
$ virtualenv ReviewSystem
$ . ReviewSystem/bin/activate
$ pip install -r requirements.txt
$ touch review_project/ratings/migrations/__init__.py
If you are using any other methods than the above two, then manually install the software given in requirements.txt
Now create a folder named migrations in the folder ratings.
Make an empty python file inside and name it as __init__.py.
Do note that there are double underscores on each side of 'init'
After successfully installing the app, running the app locally requires the user to migrate changes and create databases. Open the review_system folder and type in the following:
$ python manage.py makemigrations
$ python manage.py migrate
$ python manage.py runserver
For subsequent executions, just write:
$python manage.py runserver