Boston Python Workshop/Friday handout/OS X 10.6 or 10.5: Difference between revisions
Content added Content deleted
imported>Paulproteus |
imported>Paulproteus |
||
Line 73: | Line 73: | ||
* Create a folder on the desktop called <code>django_projects</code> |
* Create a folder on the desktop called <code>django_projects</code> |
||
* Open a new Terminal window and type the following |
* Open a new Terminal window and type the following: |
||
cd ~/Desktop/django_projects |
cd ~/Desktop/django_projects |
||
django-admin.py startproject test |
django-admin.py startproject test |
||
* Both commands should provide no output. |
* Both commands should provide no output. |
||
* Once that's finished, type the following in the Terminal window |
* Once that's finished, type the following in the Terminal window: |
||
cd test |
cd test |
||
python manage.py runserver |
python manage.py runserver |
||
Line 83: | Line 83: | ||
* In your browser, go to http://localhost:8000/ |
* In your browser, go to http://localhost:8000/ |
||
* Back in the Terminal window where you ran <code>python manage.py runserver</code>, type control-c to kill the server. |
* Back in the Terminal window where you ran <code>python manage.py runserver</code>, type control-c to kill the server. |
||
== Install SQLite Firefox plugin == |
== Install SQLite Firefox plugin == |