Hamon's official website. Initiated by Miranj on 29 Sep 2016.
-
Ensure the following requirements are installed:
- Ruby 2.3+
- Jekyll 3.2+ and that the generated files will be accessed via Apache.
-
Build the site
$ JEKYLL_ENV=production jekyll build
-
Create an Apache config file and update the
RewriteBase
directive if required.$ cp templates/sample.htaccess templates/.htaccess $ vi templates/.htaccess
-
Access the generated ./_site folder from your browser
-
Create an environment specific config file if required (eg. to override
baseurl
):$ cp sample_env_config.yml _env_config.yml $ vi _env_config.yml
-
Install dev tools:
-
Node.js http://nodejs.org
-
Gulp http://gulpjs.com/
$ cd assets & npm install
-
-
Enable continuous builds of the site
$ jekyll build --watch --config _config.yml,_env_config.yml
-
Enable continuous builds of the assets
$ cd assets $ gulp