Skip to content
navneel99 edited this page Jun 14, 2018 · 2 revisions

Installation

First clone the repository using git clone. Then run by any of the methods.

Using Anaconda :

$ conda create -n rvs python=3
$ source activate rvs
$ pip install -r requirements.txt

Using Virtualenv :

Open the ReviewSystem-master folder then type:

$ virtualenv ReviewSystem
$ . ReviewSystem/bin/activate
$ pip install -r requirements.txt
$ touch review_project/ratings/migrations/__init__.py

Other Methods:

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'

Running the app locally

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