Static site hosting/create: Difference between revisions

From OpenHatch wiki
Content added Content deleted
imported>Paulproteus
No edit summary
imported>Paulproteus
No edit summary
Line 10: Line 10:
** Also alias www.<campusname> to <campusname>
** Also alias www.<campusname> to <campusname>
* SSH into linode
* SSH into linode
** cp -a some_old_dir some_new_dir
** cd some_new_dir
** rm -rf 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

Revision as of 23:25, 24 May 2013

  • Fork a repository of a previous site
    • Customize repository name
    • Customize contents
    • Push back to github
  • Ask Asheesh to create the Nearly Free Speech.net site.
    • Hopefully this will have better instructions eventually
  • Log into linode 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>
  • SSH into linode