The site is build using Jekyll and gulp.js and hosted here on GitHub Pages. In order to develop using Jekyll make sure ruby, and npm are installed on your system.
Run the following commands
gem install jekyll
npm install
gulp serve
# => Now browse to http://localhost:4000/website
If you install a livereload-plugin for your browser (firefox, chrome, safari) your browser will autoreload whenever files are changed.
task | description |
---|---|
css |
bundle and transpile stylesheet (to dist/main.css) |
js |
bundle, autoprefix, browserify, and babelify javascript (to dist/javascript.js) |
assets |
run css and js tasks |
jekyll |
build the site without assets |
build |
run jekyll and assets tasks |
watch |
start jekyll in watchmode, and watch _scss and _js folder for changes. reload browser on change |
serve |
run assets and watch tasks. |
.
├── _includes ; partial layout files
│ └── ...
├── _layouts ; layout files
│ └── ...
├── _page_collection ; site content in markdown
│ └── ...
├── _scss ; scss stylesheets
│ └── ...
├── assets ; static files
│ └── ...
├── .circleci ; CI configuration and scripts
│ └── ...
├── _site ; build destination
│ └── ...
├── gulpfile.js ; gulp tasks
├── _config.yml ; Jekyll config
└── index.md ; entry point of the website
Run .circleci/deploy-ghpages.sh
in oder to build the site and deploy it to http://delta-leonis.github.io/website
. Make sure you have Jekyll setup.