Lab Coat is the www.hashlabs.com website.
yarn
(or npm install
)bundle install
rbenv rehash
cp _config.example.yml _config.development.yml
, then update the values of the variables on that fileyarn optimize-images
, and be sure to run this each time you add new images to _assets/img/
yarn serve
and yarn watch
at the same time to serve and watch for changesCurrently our default branch to develop is source
this is intended in order to avoid issues as we need to deploy using github pages. Having the source
branch allow us to perform the build process in an isolated way and push the output to master branch so teh github page will still working as expected despite the custom build process
Run yarn deploy
Run yarn deploy-production
Jekyll compiles SASS when serving/building. Put your partials in the _sass
folder, and your main.scss
file in css
folder. Your main.scss
file should have the front matter declaration (dashes at the top of the file) to work correctly.
---
---
@import 'bla';
Run yarn build-production
then the ready for production site will be in the _site
folder
To deploy to staging make sure you have access to the firebase labcoat-staging project and then run yarn deploy
Jekyll has a convenient _data
folder, that we can use to have dynamic
things (like team members or projects) to be rendered without harcoding
them in the template.
You can add yml
files in the _data
folder, and query the contents of
these files using site.data.{filename}
.
Check the FAQ
Lab Coat is maintained by Hash Labs LLC