Skip to content

rajpaul/test_quiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation :

Once you clone the repo, please go to the root directory .

We used postgresql for this project . Please install postgresql if doesn't exist.

  1. Create database whatever you want to name it and place the name of the database in settings.py configuration file .

  2. Create your own virtualenv using the command $ virtualenv <YOUR VIRTUALENV NAME

  3. Activate your virtualenv using $ source /bin/activate

  4. Install all requirement packagaes using $ pip install -r requirements.txt

It will install all the dependencies needed to run the application. If you see any error on the fly , please check the dependencies installed to install requirements dependencies.

At the very last you need to migrate schema and create tables in your database. To do so please run the following command:

$ python manage.py migrate

Once you done with successfull migration with the migrate command, you are done ! Now please run the server with django defaulf app server using the following command :

$ python manage.py runserver

Nice !! You are now able to see the application in your desired browser by the following address

http://127.0.0.1:8000

All implemented with Django Rest Framework 3.2

For Portfolio the url is :

http://127.0.0.1:8000/portfolios/

For User the url is :

http://127.0.0.1:8000/users/

For Instrument the url is :

http://127.0.0.1:8000/instruments/

And for comments

http://127.0.0.1:8000/comments/

Cheers!!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages