Boston Python Workshop/Friday handout/OS X 10.6 or 10.5: Difference between revisions

From OpenHatch wiki
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 ==

Revision as of 09:32, 23 September 2011

comment6,

comment4,

comment5,

comment3,

comment4,

comment4,

Install SQLite Firefox add-on

SQLite Explorer is a piece of software that lets you browse SQLite databases. It's written as a Firefox add-on.

Even if you already have a browser like Chrome, you'll need the latest version of the Firefox web browser. (You may need to upgrade even if you already have Firefox installed.)


If you already have Firefox

Open it, and then go to the Firefox menu (top left of the screen). Select "About Mozilla Firefox."


You'll get a window, like the one below, that shows you what version of Firefox you have. Write down that number!


Now go to the Firefox homepage and see what the current version of Firefox is. If it's the same major version (such as 3.6 - you can ignore the third part of the number) then you're good. You don't need to upgrade.

If it's a different major version, then you need to upgrade. Download it from the Firefox homepage and double-click to install.

If you don't have Firefox yet

Go to the Firefox homepage and click the big download button. Once you have the file, double click and follow the instructions to install.

Install the SQLite Manager Firefox Plugin

Open Firefox, and then go to the Tools menu and select "Add-ons." Click the "Get Add-ons" button at the top. Enter "SQLite" where it says "Search all Add-ons." The first thing that comes up should be SQLite Manager. Click "Add to Firefox" and then follow the instructions to install it.

If you have trouble installing, double-check that your Firefox version is at least 3.6.

Now go back to the web app install instructions