GoNevis dashboard and reader front-end source code.
- Production URL: https://dash.gonevis.com
- Staging URL: http://dash-draft.gonevis.com
This project is made with Angular.
- Local:
npm run serve
- Staging:
npm run serve-stag
- Production:
npm run serve-prod
- Local:
npm run build
- Staging:
npm run build-staging
- Production:
npm run build-production
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
To keep track of changes (ChangeLog.md), each time a task has been done use the changelog
command:
> npm run changelog
# Usage: npm run changelog CHANGE_TYPE ISSUE_ID TITLE
# Example: npm run changelog fix 1234 "An issue title"
Run npm run test
to execute the unit tests via Karma.
Run npm run e2e
to execute the end-to-end tests via Protractor.
Run npm run lint
to execute linting via TSLint.
Features: Any new work should be branched out from "master" branch and must be merged back into the "master" branch.
Hot fixes: Fixes should be branched out from "production" branch and must be merged back into "master" and "production".
Branch production, should be last and stable working code that is on production servers.
All the pull requests (from Master branch) should pass the code checks, including and not limited to:
- Test Coverage
- Unit Tess Status
- Build Status
- Reviewers Approval
Branch master, should contain the latest development work and should be on staging.
All the pull requests (from developers) should pass the code checks, including and not limited to:
- Test Coverage
- Unit Tess Status
- Build Status
- Reviewers Approval
Deployment happens automatically via the CI.
The Latest code on master branch will be deployed to the staging, while the branch production will be deployed to production server.
To release a new version or have the latest changes on the production:
- Make a new Pull Request from branch master to production.
- The pull request should pass (not limited to):
- Test Coverage
- Unit Test Status
- Build Status
- Reviewers Approval
After merging the pull request into production, the CI will build and deploy the latest code from production branch to the Production server.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
GoNevis Dash is licensed and distributed under GPLv3.