Boston Python Workshop/Friday handout/OS X 10.6 or 10.5: Difference between revisions
Content added Content deleted
(comment4,) |
(comment4,) |
||
Line 9: | Line 9: | ||
comment4, |
comment4, |
||
comment4, |
|||
== Verify you can create a new Django app == |
|||
* Create a folder on the desktop called <code>django_projects</code> |
|||
* Open a new Terminal window and type the following: |
|||
cd ~/Desktop/django_projects |
|||
django-admin.py startproject myproject |
|||
* Both commands should provide no output. |
|||
* Once that's finished, type the following in the Terminal window: |
|||
cd myproject |
|||
python manage.py runserver |
|||
* The first command should produce no output. The second command will put out a bunch of output, then just sit there until you cancel it (2 steps from now). |
|||
* 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. |
|||
== Install SQLite Firefox add-on == |
== Install SQLite Firefox add-on == |