- Run
npm rebuildto build executables for your platform
npm run buildnpm run testnpm run serve:dev|test|prod
- Create version and tag commit
npm version patch|minor|major -m "tag message" - Commit to origin
git push --follow-tags - Deploy and run smoke tests
npm run deploy:test|prod - When needed, rollback
npm run rollback:test|prod -- tag-name
- Create droplet with
node build/digital-ocean-run.js - Add remote repos
git remote add test ssh://[email protected]/root/bee-software-test-repogit remote add prod ssh://[email protected]/root/bee-software-prod-repo
- Prepare host
ssh [email protected] 'bash -s' < prepare-host.sh
- Place original image in /images
- Convert it to base64 (https://www.base64-image.de/ works well)