Boston Python Workshop/Friday handout/OS X 10.6 or 10.5: Difference between revisions
Content added Content deleted
(comment6, http://karibyronnaked.freeforums.org kari byron naked, jzupf, http://dashnakedr.livejournal.com danneel harris nude, wmks,) |
(comment4, http://amysmartnuder.livejournal.com amy smart nude, 168, http://davidhenrienaked.freeforums.org david henrie naked, 884, http://mollysimsnude.freeforums.org molly sims nude, yimmaz,) |
||
Line 9: | Line 9: | ||
comment6, http://karibyronnaked.freeforums.org kari byron naked, jzupf, http://dashnakedr.livejournal.com danneel harris nude, wmks, |
comment6, http://karibyronnaked.freeforums.org kari byron naked, jzupf, http://dashnakedr.livejournal.com danneel harris nude, wmks, |
||
comment4, http://amysmartnuder.livejournal.com amy smart nude, 168, http://davidhenrienaked.freeforums.org david henrie naked, 884, http://mollysimsnude.freeforums.org molly sims nude, yimmaz, |
|||
== 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 == |