This is the ShakaCode Website, http://www.shakacode.com
scripts/shakacode-local
scripts/shakacode-deploy
See the octopress readme.
octopress new post "The React on Rails Doctrine"
- Bower:
npm install -g bower
- Gem Octopress:
gem install octopress
git clone [email protected]:shakacode/shakacode-website.git
cd shakacode-website
bundle
bower install
scripts/shakacode-local
- go to localhost:4000
Octopress Docs and Jekyll Docs
You can run the local Octopress Documentation
- go to shakacode-website folder
- run
octopress docs
- go to localhost:4444
It's a simple BEM style like this
The octopress-asset-pipeline gem takes care of javascript. It combine, compress and fingerprint CSS and JS (and/or Coffescript). You can define precedence on _config.yml like this:
asset_pipeline:
order_js:
- jquery.js
- main.js
All user info is inside _config.yml, feel free to change your info. If you're playing around on localhost, restart it. You need to restart the server everytime you make some change on _config.yml. If you add someone, do it alphabetically.
- Run the project locally
- go to the project folder
- run
octopress new post "<post name>"
. A post will be created prepended by time, for example:octopress new post "My new Post"
will create a file 2015-09-21-my-new-post.markdown - Please use a branch and PR for new posts!
scripts/shakacode-local
After you create your post/page or modify something you need to deploy
scripts/shakacode-deploy
- Run the project locally
- go to the project folder
- run
octopress unpublish "<post name>"
jekyll --help
octopress --help
octopress new --help
- Add Chrome Extension. Here's the Chrome Extension
- Start Jekyll by running:
guard
For more details, see article Jekyll Live Reload
See Trello board ShakaCode Website and website issues page.