This is a template for running a Jekyll site on Netlify
The is built using Jamstack (JavaScript, APIs, and Markup) technologies (What is Jamstack?) Specifically, we use the technologies recommended by Netlify CMS - Jekyll.
This is an ongoing project and I welcome contributions. Feel free to file an issue or submit a PR against an existing issue. If you wish to contribute to this project, you should fork the project under your own account, and then raise any changes via pull requests.
Use this deploy button to get your own copy of the repository.
This button will do the following:
Accept the invite, set your password, then navigate to /admin
on your site to log in.
Now you're all set, and you can start customizing your static site!
All processes are controlled through Node/Gulp. Additionally, Jekyll requires that Ruby be installed. If you do not have these installed, you will need to do so before developing for this project. For Ruby, it is recommended to use RVM.
Fork and Clone the Repository
$ git clone [email protected]:YOUR_USER_NAME/rhddx.git
$ cd rhddx
$ git remote add -f upstream [email protected]:mindreeper2420/netlify-template-jekyll.git
Requirements:
After you have set up your local environment, you can then build the site.
# Install devDependencies
$ npm install
# Run Gulp Build
$ gulp build
After the initial build, you can then run the local development environment by running either gulp development
or scripts/./development.sh
.
When in development mode, Gulp will watch the project folders for changes. Changes to .scss
files will rebuild the styles and update the main.css
file under _site/assets/
. Changes to any .html
files will kick of the Jekyll Build process, updating the HTML files under _site/
To view the site locally, navigate to localhost:4000.
If you would like to run the build using Netlify's local configuration, you can utilize their built-in CLI and development scripts:
# Install the Netlify CLI
$ npm install netlify-cli -g
# Start Netlify dev
$ netlify dev
# Initializes and checks for updates to the git submodule
$ scripts/./submodule.sh
# Runs the development processes
$ scripts/./development.sh
# Run Release processes, update Changelog & push to Master
# replace {{version}} with either major, minor, patch or prerelease
$ scripts/./release.sh {{version}}
Each page under is built using Jekyll Frontmatter. Due to the size and complexity of this site, we use multiple variations of the Frontmatter in order to properly sort and render the various examples and documentation. To view how to build a page, check out the page construction file.
This project is supported on the latest version of the following browsers: