Skip to content

leenasn/GCRC2014

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GCRC 2014

Getting started

This site is built with Jekyll.

gem install bundler
bundle install

git clone [email protected]:GardenCityRuby/GCRC2014.git
cd GCRC2014
jekyll serve -w

Point your browser at localhost:4000

Adding a blog post

rake post["Post title"]

Edit the new file created in _posts

Adding a page

Edit _config.yml and add a link in the links section. Add a markdown(page.md) or an html(page.html) file in the root directory.

Deploying updates

Commit the changes locally and do:

git push origin master #This gets deployed to www.gardencityruby.org automatically

(Assuming origin to be the remote)

Deploying to Github Pages

git clone [email protected]:GardenCityRuby/GCRC2014.git --branch gh-pages _site

This clones the static site in gh-pages branch to _site directory. After changes are made,

jekyll build --config _config.yml,_config_github.yml
cd _site
git add --all && git commit -m "Update site"
git push --force

Continuous Deployment

The master branch of the site is continuously deployed using a Jenkins build script. This is what happens behind the scenes :

jekyll build --destination _deploy --config _config.yml,_config_deploy.yml
push contents of _deploy directory to remote storage

About

Website for GardenCityRubyConf 2014

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 92.3%
  • Ruby 7.3%
  • Other 0.4%