This repository contains the HTML, CSS, and Docker configuration for the site https://interrobang.consulting.
Run make
to create a local development.
Once the dev environment is running, you will be able to access the page at https://localhost for testing.
A container running sass in watch mode runs alongside the primary nginx container. All scss files in ./html/scss
will be converted to css in ./html/css
as you modify them.
Run make lint
to perform on demand linting. The make
command will configure a pre-commit hook in your local repository that will block commits that do not pass the lint tests.
Tests will be run automatically by drone and docker cloud on push and PR creation.
The staging environment is managed using git tags. Git tags with the prefix stage-
will be tested and deployed to the GKE staging cluster by drone. For instance, the git tag stage-test
will be deployed to https://test.interrobang.consulting.
make sass
- Manually run sass conversion.make githooks
- Install githooks.make build
- Builds docker image.make up
- Spins up the development environment.make start
- Starts a stopped development environment.make stop
- Stops a running development environment.make down
- Destroys a running development environment.make logs
- Streams logs from a running development environment.make shell
- Gets a shell on the development environment www container.make lint-sass
- Runs sass-lint against the development environment.make lint-html
- Runs htmllint against the development environment.make lint
- Runs all linting against the development environment.