Jump to content

Boston Python Workshop/Friday handout: Difference between revisions

imported>Paulproteus
imported>Paulproteus
Line 93:
 
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.
 
== 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.
 
You're going to '''fork''' this git repository so that when make your own changes to it, you can push those changes to your personal Github account. (You have to fork the repository because otherwise Github won't let you make changes to "my" project!)
 
=== Fork our project on Github ===
 
* Go to https://github.com/paulproteus/workshop-mysite
* Click the "Fork" icon
* Go to your personal fork of the project.
 
=== Clone it to alwaysdata.com ===
 
* Copy the "Git Read-Only" version of the repository URL to the clipboard
* In your SSH client (PuTTY or ssh), connect to this host:
 
your_alwaysdata_username@ssh.alwaysdata.com
 
* Enter this command into the terminal, but don't press '''enter''' yet:
 
git clone
 
* Now '''paste''' in the repository URL, and hit '''enter'''.
 
=== Configure alwaysdata.com to serve your site ===
 
This is the '''last''' step: Tell alwaysdata.com how to serve up your site to the world.
 
* Go to the Alwaysdata.com '''Domains''' administration page: https://admin.alwaysdata.com/domain/
 
== Friday is over ==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.