-
Notifications
You must be signed in to change notification settings - Fork 4
How to deploy the tool
Giovanni Pizzi edited this page Nov 25, 2020
·
3 revisions
- Create a branch
- Push your commits, make sure tests pass
- Create a PR and merge it in master (required by branch protection rules)
- (Only the first time) Add a git remote
dev-dokku
to your git repo, pointing todokku@matcloud.xyz:layer-raman-ir
- Run
git push dev-dokku
from the master branch
Pushing to the development server can be done at any time, as it is acceptable that it might not work at times, even if it is suggested to test it locally using the ./admin-tools/build-and-run.sh
script (that is also faster since it will use the docker cache)
- Create a branch
- Update the version in the
__version__
variable inside compute/layer_raman_engine.py - Merge into master with a pull request
- Create a git tag using CalVer, e.g. vYY.MM.N, where YY is the two-digit year, MM is the two-digit month, and N is a sequential number starting from 0 for every release in that month. E.g., for the v20.11.0 release, you can type
git tag v20.11.0
(check the tags first withgit tag -l
) - Push the tag to GitHub with
git push --tags
- Possibly mark it as a new release from the GitHub GUI
- (Only the first time) Add a git remote
prod-dokku
to your git repo, pointing todokku@materialscloud.io:layer-raman-ir
- Push the tagged commit to
prod-dokku
withgit push prod-dokku