You need to have Ruby and npm installed your machine. For OS X users it is recommended to install these tools through Homebrew. To install these run:
brew update && brew install ruby npm
Building the website is facilitated by Gulp which is configured through the gulpfile. To install all dependencies for both ruby and node run
make install
This will also make a link to the pow server such that you can visit thermodo.com.dev/
in your browser.
To continously build the site while watching for changes run
make watch
To build a production ready release build of the website run
make release
Deployments can only be performed by core contributers of the project and are automated with the s3_website
gem with the make deploy
command. Core contributors will have to create a .env
file and fill in the missing S3 keys.
- Clone the repository
- Create a new branch for your contribution
- Make the changes
- Check that the website builds correcly by running
make release
and check that everything looks correct - Make a pull request where you clearly state what you contribution constitutes