The Pilosa website is built using Hugo and Bootstrap 4. It was designed by Thirteen23 and implemented in collaboration with Vitamin T.
You can run it locally using make
:
make server
This does two things. It retrieves the docs from the main Pilosa repo and then runs the hugo server with --buildDrafts
, which displays drafts in the development server.
Note that the docs do not get updated on future invocations of
make
, so you should runmake clean server
if you want to view the latest docs.
We use continuous delivery for the website deployment. Travis CI builds every revision, as shown in the .travis.yml
file in this repo. If the revision is in master
or staging
, it will be deployed to the relevant site:
master
branch is always deployed to the production site (viamake production deploy
).staging
branch is always deployed to the staging site (viamake staging deploy
).
Please submit pull requests from private fork topic branches to the master
branch. If the pull request includes changes that may cause risk when deploying to production, please push the changes directly to the staging
branch, where they will be deployed automatically to the staging site.