👍🎉 First off, thanks for taking the time to contribute! 🎉👍
- Fork this project and install the packages with
npm i
- Create a new feature/patch branch
- Code code code
- Run
npm test
to check all linting and tests are passing - Write a good commit message in the format
<type>(<scope>): <subject>
- Pull request using the new feature/patch branch
- Ensure the Travis build passes
- all required data in
*.json
format are in thedata
folder
- write code to create a
json
data that will plot the graph in the foldergraphs
- you can use the common utility function in folder
tasks/utils.js
to create the graph - ensure you write this
json
data in a file under the folderpublic/data
so that the frontend can query it - run
npm run build
to create this data in folderpublic/data/*.json
- add the frontend script to create eh graph with
d3js
in folderpublic/js
- add the link to the scripts in
views/index.pug
- amend the view file to display the graph in file
views/index.pug
- run
npm start
to view the website with the graph
This project is an OPEN Open source project.
Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project.
There are a few basic ground-rules for contributors:
- No
--force
pushes or modifying the Git history in any way. - Non-master branches ought to be used for ongoing work.
- External API changes and significant modifications ought to be subject to an internal pull-request to solicit feedback from other contributors.
- Internal pull-requests to solicit feedback are encouraged for any other non-trivial contribution but left to the discretion of the contributor.
- Contributors should attempt to adhere to the prevailing code-style.