pac3-ui v0.0.1
SNF Analytics App - UI
Installation
To run the app locally (requires nodejs and npm):
cd pac-ui
npm install
npm run dev
Contributing
Create your feature/bugfix branch:
git checkout -b feature-branch
Push commits to it:
git push -u origin feature-branch
When you feel you are done with it, you create a PR.
- Another developer reviews your code and may ask for changes.
You keep pushing your changes:
git push
It is easy to revert a single commit if anything goes wrong. Squash your commits once it’s ready to merge to master:
git fetch origin master git rebase -i origin/master git push -f origin/feature-branch
It will be merged into master by the reviewer or whoever is in charge of the project.
Deployment
Staging
Every patch commited to master will be deployed to staging.
Production
Every push of a git tag will trigger a deployment to production.
Bump the project version:
npm version <newversion> | major | minor | patch | from-git
It will increase the version in package.json, create a commit and a git tag. If you want to use the option from-git you need to create a tag before bumping the version.
Publish the tags and latest changes:
git push --tags
5 years ago