- Run
npm rebuild
to build executables for your platform
npm run build
npm run test
npm 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-repo
git 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)