2013-12-23 09:04:04 +00:00
|
|
|
Running example project
|
|
|
|
|
***********************
|
2013-08-23 09:24:48 +00:00
|
|
|
|
2013-12-01 11:23:23 +00:00
|
|
|
#. Install Django and PyYAML::
|
2013-08-23 09:24:48 +00:00
|
|
|
|
|
|
|
|
pip install Django
|
2013-12-01 11:23:23 +00:00
|
|
|
pip install pyyaml
|
2013-08-23 09:24:48 +00:00
|
|
|
|
2013-12-01 11:33:09 +00:00
|
|
|
#. Create database::
|
2013-08-23 09:24:48 +00:00
|
|
|
|
2013-12-01 11:33:09 +00:00
|
|
|
python manage.py syncdb --noinput
|
2013-08-23 09:24:48 +00:00
|
|
|
|
|
|
|
|
#. Run testing server::
|
|
|
|
|
|
|
|
|
|
python manage.py runserver
|
|
|
|
|
|
2013-12-01 11:33:09 +00:00
|
|
|
#. Take a look at http://localhost:8000 . You can log in to administration with username ``admin``
|
|
|
|
|
and password ``admin``.
|
2013-12-23 09:04:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
Testing HTTPS
|
|
|
|
|
*************
|
|
|
|
|
|
|
|
|
|
To test HTTPS on development server, `follow this instructions
|
|
|
|
|
<http://www.ianlewis.org/en/testing-https-djangos-development-server>`_.
|