Commit ae7064aa authored by Adam Procter's avatar Adam Procter
Browse files

added Contributing file version 0.1.0

parent 8d014e57
# Coding Guidelines
Don’t show off. Its ok if your code is verbose the easier to read, the _better_.
## Getting Started
To get started you need to be running Vue.js and CouchDB. You can install a local CouchDB from on to your computer. You will need to create a server admin account on your CouchDB for to use.
Then in the code create a .env.local file at the root (under app) for use in your development the file format is as follows, using in your CouchDB details (obviously).
If you are deploying then create another file called .env.production.local again editing to fit your production CouchDB location.
## Basics
Please note we use [PouchDB]( to talk to CouchDB. This is what enables offline and local first support.
All the internal code should use the GNU Affero General Public [License](LICENSE).Any dependancies that are brought into must have as open a License as possible. Dependancies should be loaded in via Vue.js ui cli.
Please Use arrow functions,and as much ES6 as possible. The code should be as neat as possible. However all code should be human understandable. So again verbose is good.
All if statements should use curly braces to indicate the statement block { } please
Apply ESLint and Prettier to all code please.
Use the settings in the Vue.js package.json and in your code editor enforce the following conventions.
- singleQuote: true
- semi: false
## Comments and Documentation
Use comments, in fact over use comments.
Feel free to retro add comments after a batch of code.
Use the following format to highlight concerns KEYWORD:Comment. For Example TODO:this needs to be amended to arrow functions. These can also be added as Issues in Github (see note below) but do not need to be.
We want to build docs from the Codebase as well so please use the Standard conventions of [JSDoc](
## Gitlab is the truth of the Codebase
All the original code should be stored at the gitlab group
## Github mirrored codebase
The code base is mirrored to github for two reasons. Backup and to support organisation of Issues within GitKraken Glo Boards. We recommend [GitKraken]( for use with Gitlab.
## Semantic versioning
This repo started at 0.1.0 all branches will be considered patches so the naming convention will be incrementing the final digit MAJOR.MINOR.PATCH so the very next version would be 0.1.1 more on Semantic versioning can be read [here](
Versions increase when app code base changes. Documentation changes do not require version changes please.
## Feature Branches
We use the feature branch workflow. Please do not work from master, check out master and branch. Once work is completed do a pull request to the master. A longer guide is [here](
There are some special branches which will deploy to online versions of, beta, alpha and release. Do not work from or pull request to these branches. These are used for internal deployment only.
## Changelog
Please update the [Changelog]( as part of a pull request to the master.
## Languages Used
As much Vanilla javascript as possible and Vue.js.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment