Welcome to the official website for OHI/O, an organization working to foster a tech culture at the Ohio State University.
The homepage is built using Jekyll - a framework for building static webpages.
https://jekyllrb.com
Installation instructions can be found here:
https://jekyllrb.com/docs/installation/
A step-by-step tutorial can be found here:
https://jekyllrb.com/docs/step-by-step/01-setup/
The folder structure is as follows:
_home: Contains config, HTML pages.
_includes: Contains HTML fragments (ex. navbar, footer) that are repeatedly used across pages.
_layouts: Contains the HTML skeletons that the main content (ex. index.html, events.html) will be nested within.
_assets: Contains all project assets such as CSS, JS and images.
_site: Contains the compiled version of the homepage. (Not committed - will only show up locally after you build)
To test your code locally:
- Navigate to the /home directory
- Run
bundle exec jekyll serve
- This will build your code (which is saved under _site) and start a local server
- Open your browser and go to http://localhost:4000
Deployment thanks to travis:
https://travis-ci.org/Ethan-Wolfe/ohio
https://oncletom.io/2016/travis-ssh-deploy/