Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 933 Bytes

README.md

File metadata and controls

42 lines (29 loc) · 933 Bytes

QuestionTime

A Quora-like Single Page Application built with Django, Django REST Framework and Vue JS

Hot to set up the project to run on your local machine?

Download the code to your PC, unpack the zip and move inside the folder.

Create a new Python Virtual Environment:

python3 -m venv venv

Activate the environment and install all the Python/Django dependencies:

source ./venv/bin/activate (or Select Manually ->venv/scripts/python)

pip install -r ./requirements.txt

Apply the migrations as usual.

Time to install the Vue JS dependencies:

cd QuestionTime/frontend
npm install

Run Vue JS Development Server:

npm run serve

Run Django's development server:

python manage.py runserver

Open up Chrome and go to 127.0.0.1:8000 and the app is now running in development mode!