Code for Sacramento is a platform for civic innovation. As an open source organization, you can fork our code including our website. Help us make the site better by forking it, adding new content or features, and submitting a pull request!
git clone https://github.com/code4sac/codeforsacramento.org.git
cd codeforsacramento.org
docker-compose up
Keep this tab open and running while you are viewing/editing. Press ctrl + c to exit when you are finished.
docker-compose build
If you have previously built the Docker image and are getting an error concerning Ruby packages, try to rebuild the Docker image.
- Ruby 1.9.3 or later
- Bundler
- Git
- Text Editor
git clone https://github.com/code4sac/codeforsacramento.org.git
bundle
jekyll build
jekyll serve --watch
With jekyll serve --watch
running, you should be able to access the site on http://localhost:4000! Thanks to the --watch
flag, any changes you make to the markdown (md) files will update automatically!
For reference, here's an awesome markdown cheatsheet.
Contribute, change things, submit a pull request! We will all contribute.