Static site hosting/create: Difference between revisions

no edit summary
imported>Shauna
No edit summary
imported>Shauna
No edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 4:
 
* Building the website
** Create an organization for the school, for example: oh-hogwarts. Make sure the hello@ email address is used for account name.
** Fork [https://github.com/openhatch/oh-campus-template the template repository] (as Github limits the number of forks an individual can make of a single repo, you may need to fork a different oh-campus site or email Github to request your previous forks be made free-standing repositories.)
** Fork [https://github.com/openhatch/oh-campus-template the template repository] into the organization account and rename to be a github.io page, for example: oh-hogwarts.github.io
** Edit the CNAME record in the template to redirect to the appropriate domain name, for example: hogwarts.openhatch.org
** Customize
*** Change repository name to reflect event
Line 11 ⟶ 13:
*** Create a new sign up form for the event (may just duplicate previous ones) and change the link on the website.
** Add, commit, and push changes back to Github.
* Set up domain name with linodecloudflare.com
* Set up NearlyFreeSpeech.net site
** Log into linodecloudflare.com (username openhatch) and create a new CNAME record
** Ask Asheesh (ie needs better instructions)
*** Go to "DNS Settings" (it's an option in the drop-down in the right-most column)
* Set up domain name with linode.com
*** Scroll to bottom of page to add two new records:
** Log into linode.com (username openhatch) and create a new CNAME record
**** Type: CNAME
*** Go to DNS manager and click 'Create new CNAME record'
**** Alias <campusname>.openhatch.org to oh-<campusname>.nfshostgithub.comio
**** Also alias www.<campusname> to <campusname>
* SSH into linode
** cp -a old_dir new_dir
** cd new_dir
** rm -rf data
** git clone git://github.com/openhatch/oh-whatever-it-is.git data
** edit and run ./update_and_push
*** row 6: change url
*** row 15: change ssh command
Anonymous user