The solution to https://docs.djangoproject.com/en/dev/intro/tutorial01/
- Make a new virtualenv:
virtualenv env
- Activate the virtualenv:
source env/bin/activate
- Install required packages:
pip install -r requirements.txt
- Edit
mysite/settings.py:36
to match your timezone - Run the server:
python manage.py runserver
- Open website in browser at
http://localhost:8000/polls
or admin athttp://localhost:8000/admin
(admin:admin) - Use admin to set your Site's domain name for sending (registration) emails.
Example:
localhost:8000
- Set the
EMAIL_HOST_PASSWORD
environment variable (in.bashrc
,bin/activate
, etc.), and other email-related settings.
- Activate the virtualenv:
source env/bin/activate
- Run the server:
python manage.py runserver
- Open website in browser at
http://localhost:8000/polls
or admin athttp://localhost:8000/admin
(admin:admin)