Static site hosting/create: Difference between revisions
Content added Content deleted
imported>Shauna No edit summary |
imported>Shauna No edit summary |
||
Line 3: | Line 3: | ||
To create an event webpage in the style of [http://wellesley.openhatch.org/ this one]: |
To create an event webpage in the style of [http://wellesley.openhatch.org/ this one]: |
||
* Building the website |
|||
* 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] (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.) |
||
* Customize |
** Customize |
||
** Change repository name to reflect event |
|||
** Change |
*** Change repository name to reflect event |
||
** Change |
*** Change colors if needed (I like to use school colors) |
||
*** Change text: date, time, location, name of hosts |
|||
** Create a new sign up form for the event (may just duplicate previous ones) and change the link on the website. |
*** 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. |
** Add, commit, and push changes back to Github. |
||
* |
* Set up NearlyFreeSpeech.net site |
||
** |
** Ask Asheesh (ie needs better instructions) |
||
* Set up domain name with linode.com |
|||
* Log into linode.com (username openhatch, password '''a terrible secret''') and create a new CNAME record |
|||
** |
** Log into linode.com (username openhatch) and create a new CNAME record |
||
*** Go to DNS manager and click 'Create new CNAME record' |
|||
⚫ | |||
** |
*** Alias <campusname>.openhatch.org to oh<campusname>.nfshost.com |
||
⚫ | |||
* SSH into linode |
* SSH into linode |
||
** cp -a |
** cp -a old_dir new_dir |
||
** cd |
** cd new_dir |
||
** rm -rf data |
** rm -rf data |
||
** git clone git://github.com/openhatch/oh-whatever-it-is.git data |
** git clone git://github.com/openhatch/oh-whatever-it-is.git data |
||
** edit and run ./update_and_push |
** edit and run ./update_and_push |
||
*** row 6: change url |
|||
*** row 15: change ssh command |
Revision as of 19:14, 18 June 2013
Note: This guideline is written by Shauna, for Shauna. You will likely have to adapt it to your needs/permissions - please do contact us if you need help!
To create an event webpage in the style of this one:
- Building the website
- Fork 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.)
- Customize
- Change repository name to reflect event
- Change colors if needed (I like to use school colors)
- Change text: date, time, location, name of hosts
- 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 NearlyFreeSpeech.net site
- Ask Asheesh (ie needs better instructions)
- Set up domain name with linode.com
- Log into linode.com (username openhatch) and create a new CNAME record
- Go to DNS manager and click 'Create new CNAME record'
- Alias <campusname>.openhatch.org to oh<campusname>.nfshost.com
- Also alias www.<campusname> to <campusname>
- Log into linode.com (username openhatch) and create a new CNAME record
- 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