Setting up the web app: Difference between revisions

Undo revision 8701 by 109.230.216.225 (talk)
imported>Pcollins
(Undo revision 8701 by 109.230.216.225 (talk))
 
(14 intermediate revisions by 5 users not shown)
Line 32:
* Choose the "Pack gratuit (10 Mo)". It means "Free account (10 megabytes of storage)".
* Choose the '''monthly''' payment plan.
 
'''Note''': They will send you your password by email. If you feel
queasy about receiving your password by email, then use one that you
don't mind receiving.
 
On the back of this piece of paper, take a moment to write down the
Line 59 ⟶ 55:
* [[Boston Python Workshop/Friday handout/OS X 10.6 or 10.5|OS X 10.6 or 10.5]] (Snow Leopard or Leopard). [http://www.wiki.devchix.com/index.php?title=Determining_your_OS_X_version Click here if you're not sure what version of OS X you have].
* [[Boston_Python_workshop/Friday_handout/Windows|Windows]] (XP, Vista, or 7)
* [[Boston_Python_workshop/Friday_handout/Ubuntu and Debian|Ubuntu and DebianUbuntu_Debian_Fedora]]
 
== Section 43: Configuring your accounts on the web ==
 
=== Alwaysdata: Enable SSH ===
Line 68 ⟶ 64:
* In the left-hand side, underneath '''Remote access''', click '''SSH'''
* Click the gear icon for your user
* Click the "Enabled" checkbox to enable ssh access. [hint: you can use a different passphrase than the SSH-key on localhost]
* Click ''Submit''!
 
Line 75 ⟶ 71:
Follow Github's instructions:
 
* Go to http://help.github.com/key-setup-redirect
* Go to https://github.com/account (log in if you have to), click the "SSH Public Keys" tab, and click "Add another public key"
* Follow ''just'' that section.
 
To find your public key on Windows, type this from a GitBash:
Line 95 ⟶ 89:
If it worked, you'll see a new repository listed in your Github.com account, and it will have a README file explaining what it is.
 
== Section 54: Deploying your first web application ==
 
Remember how you made a Django site earlier in the directions? The volunteers made a site like, too, and we added some special configuration to make it work well with Alwaysdata.com.
Line 125 ⟶ 119:
* Go to the Alwaysdata.com '''Domains''' administration page: https://admin.alwaysdata.com/domain/
* Find your domain, and click the gear to '''edit'''.
* Enter this/workshop_mysite/public/ into the form as the '''Root directory''':
 
/workshop_mysite/public/
 
=== Make sure alwaysdata.com is set up properly to serve your site ===
 
* On the '''domain''' configuration page, findgrab the 'name' which is your personal alwaysdata.net web domainaddress.
* Copy-pasteEnter that into your browser's address bar (type or copy/paste). You should see athe Django pleasantwelcome bluepage message congratulating you.
 
===Almost Done!===
'''Go to''' [https://openhatch.org/wiki/Boston_Python_workshop/Friday_handout#Web_Developer:_You.27re_ready_for_Saturday.21 Web App Section] of Friday's installation page and finish up!
Anonymous user