Anonymous user
Boston Python Workshop/Friday handout/Windows: Difference between revisions
Boston Python Workshop/Friday handout/Windows (view source)
Revision as of 07:57, 18 August 2013
, 10 years agoremoving spam
imported>Brittag (removing spam) |
|||
(16 intermediate revisions by 5 users not shown) | |||
Line 3:
* You may need to login as Administrator, or give the Administrator password when installing some programs, depending on your Windows version and user settings.
== Open a Command Prompt ==
* Open a command prompt window, and keep it open along with your browser. Much of installing Python and using Django is typing commands and hitting '''<enter>'''. Your experience using
* This is also called the command prompt, command window, command-line window, MS-DOS or DOS window.
http://www.wiki.devchix.com/index.php?title=Opening_a_command_prompt_window
Line 18:
* Go to http://python.org/download/ and download the latest version of Python ''2.7'' (2.7.1 at the time of writing).
* Test your Python install in the command prompt
\python27\python.exe
You should see something like
Line 36:
== Install Git for Windows ==
* Go to
** Download the top .exe file link with the Summary something like "Full installer for official Git 1.7.x.x"
* Run the install.
Line 57 ⟶ 56:
== Configure Git ==
* Set up Git with your name and email to tag your code changes. In the command prompt type:
* Replace ''Your ActualName'' with your actual name.
<pre> git config --global user.email YourEmail@domain.com </pre>▼
* Tip: '''Colors''' ▼
* Replace ''YourEmail@domain.com'' with your email address.
Test it:
git config --global user.name
git config --global user.email
To have colored output, in the command prompt type each line followed by '''<enter>''':
git config --global color.diff auto
git config --global color.status auto
git config --global color.branch auto
== Install SQLite Manager ==
Line 97 ⟶ 103:
* Hit enter to accept blank passphrase (if computer is shared with other people, as in a work laptop, you should create a passphrase). Hit enter again to accept blank passphrase (or enter passphrase again).
* Your brand-new public key is now stored at <code>
'''Note''': The ''ssh-keygen'' command will give you a bunch of output. You don't have to record that output anywhere.
== Django ==
Line 107 ⟶ 115:
cd Django-1.2.5
/c/python27/python setup.py install
cd ..
== Verify you can create a new Django app ==
Line 145 ⟶ 153:
* Run the installer, and now you will find PuTTY in
** '''Start'''->'''Programs'''->'''PuTTY'''
'''Now go back to the [https://openhatch.org/wiki/Setting_up_the_web_app#Section_3:_Configuring_your_accounts_on_the_web web app install instructions]'''
|