- Install Node / NPM (Ubuntu installation guide)
- Install Yarn (Ubuntu installation guide)
- Install
rsyncand make sure you have SSH access to the guide server if you want to deploy from this machine
- Inside
krill-user-guidefolder - Change to
developbranch:git checkout develop - Install dependencies:
yarn install
To run development server:
yarn docs:devTo deploy weekly changelog changes:
- Commit your updates on
develop - Make sure the working tree is clean
- Run the release script from the repository root on
develop:
bash scripts/build.shThe script will:
- Pull the latest
develop - Validate the VuePress build
- Bump the patch version in
package.json - Merge
developintomaster - Create and push the git tag
- Build the site again and sync it to the guide server
If the script says local master is ahead of origin/master, finish or reconcile the previous release first. The usual recovery is:
git checkout master
git push origin master --tags
git checkout develop- Docs are archived inside
/docs/krill2folder. - Spanish docs are archived inside
/docs/es/krill2folder. - Images are stored inside
/docs/.vuepress/public/imgfolder (try to keep organized structure inside it).