Lab Coat is the www.hashlabs.com website.
- Make sure you have bundler installed (gem install bundler)
yarn(ornpm install)bundle installrbenv rehashcp _config.example.yml _config.development.yml, then update the values of the variables on that file- Run
yarn optimize-images, and be sure to run this each time you add new images to_assets/img/ - Run
yarn serveandyarn watchat the same time to serve and watch for changes
Currently 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
