A project for collecting polls.
-
Clone the project in the desired directory
git clone https://github.com/sherlock6147/django-polls-app.git
-
Change to polls directory
cd django-polls-app/
-
If virtualenv is not installed, install using
sudo apt install virtualenv
-
Create the environment using
virtualenv env
-
Activate the virtual environment
source env/bin/activate
-
Install the requirements
pip install -r requirements.txt
-
Change to mysite directory
cd mysite/
-
Run the migrations
python manage.py makemigrations python manage.py migrate
-
Run the development server
python manage.py runserver