This project is not being developed anymore and the new version is at SavandBros/gonevis-dash-2.
This project is the source code of the GoNevis Dash, the admin area of of GoNevis blogging platform.
Run npm run build
for building and npm start
for preview.
To run the server that uses GoNevis draft/staging API you don't need to run a differen command. npm start
or npm run server
use the staging server API by default,
> npm server
Running against development server:
> npm run server-dev
Finally to let the application consume production server:
> npm run server-prod
Running npm test
will run the unit tests with karma.
GoNevis Dash uses jshint
to ensure quality of the code (it just tries keep the coding rules in line).
The configuration files of jshint can be found at:
.jshintrc
.jshintignore
To run the jshint over the code:
> npm run code-quality
This step will be executed on CI as well to enforce it on development cycle.
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 contains 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.
Latest code on master branch will be deployed to the staging, while 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.
GoNevis Dash is licensed and distributed under GPLv3.