The OpenMessaging website
Installation
In order to build the website and run it locally, you'll need to have Ruby version 2.4.1 installed. If you're using RVM:
$ rvm install . && rvm use .
If you're using rbenv:
$ rbenv install && rbenv local 2.4.1
Once you're using the correct Ruby version, you can install all dependencies:
$ make setup
Running the site locally
To run the site locally:
$ make serve
Then navigate to http://localhost:4000 to visit the site. When you make changes to the website source in _posts
or _docs
, the site will update automatically in your browser.
How to publish the site
Just push your change to source
branch and Travis CI will do the rest.
HTML Structure
This template is based on the ZURB Foundation framework. For a primer on what the row
and column
classes mean, please refer to the Foundation documentation.
HTML files
_layouts
blog.html
--- The blog layout filedefault.html
--- The default layout filepost.html
--- The blog post layout filedocs.html
--- The documentation page layout file
blog
index.html
--- The blog index page
CSS structure
The CSS files are based on the Foundation framework.
fontello.css
--- The Fontello icon fontfoundation.scss
--- The Foundation framework Sass source filestyle.css
--- The main stylefont-awesome.css
--- The Font Awesome icon font
Javascript structure
Javascript files:
app.js
--- Main JavaScript filefoundation.js
--- Foundation framework JavaScriptjquery.appear.js
--- jQuery pluginjquery.countTo.js
--- jQuery pluginimagesloaded.pkgd.min.js
jquery.easing.1.3.js
jquery.sequence-min.js
jquery.validate.js
json2.js
masonry.pkgd.js
slick.min.js
jquery-2.1.0.js
jquery.url.js
modernizr.foundation.js
terrific-1.1.1.js
jquery.cookie.js