Skip to content

sgvlug/old_website

Repository files navigation

SGVLUG Website

Contributing

This site uses Octopress. In order to contribute you must first setup Octopress according to their documentation. Their documentation contains easy to follow step-by-step instructions for setting up and getting started using their software.

The "master" branch is the Jekyll processed version of the site. It is the branch that will show this README when you view the website's Github source. Do not edit on this branch, instead edit on the "source" branch. To set up your clone of the site properly, perform the following steps:

 git clone git@github.com:sgvlug/sgvlug.github.com.git
 cd sgvlug.github.com
 git checkout source # checkout the branch where you make changes
 rake setup_github_pages[git@github.com:sgvlug/sgvlug.github.com.git] # setup Octopress to enable deploy task
 cd _deploy ; git fetch ; git rebase origin/master ; cd .. # pull existing generated pages

You can add content with one of these two commands:

 rake new_post["title"]
 rake new_page[filename]

See the Octopress documentation for more information.

To deploy to Github you generally will execute:

 rake generate
 rake deploy

Then commit the changes you have made on the source branch and push to Github:

 git add <files you changed or added>
 git commit -m "My commit message"
 git push origin source

License

Creative Commons