This repo hosts the code for both keycard.tech on the master branch (which builds and serves through gh-pages), and dev.keycard.im on the develop branch.
Make sure you have node.js installed first.
- Open Terminal and navigate to the project root directory,
- Run
yarn install, - Run
yarn run build, - Run
hexo server
- CI builds
masterand pushes todeploy-masterbranch, which is hosted at https://keycard.tech/. - CI builds
developand pushes todeploy-developbranch, which is hosted at https://dev.keycard.tech/.
The hosting is done using Caddy server with Git plugin for handling GitHub webhooks.
Information about deployed build can be also found in /build.json available on the website.