| 1 |
## Authorship |
| 2 |
|
| 3 |
All contributions are proprietary of CEA Tech. |
| 4 |
An exhaustive list of authors is maintained in [CONTRIBUTORS.md] file. |
| 5 |
|
| 6 |
## Git Conventions |
| 7 |
|
| 8 |
The branches are organized as follows: |
| 9 |
|
| 10 |
- `master` is the prototype for building the next release. |
| 11 |
- `stable` is the current working candidate for the next release. |
| 12 |
It shall be an ancestor of `master` and is considered ready to be distributed. |
| 13 |
- `release/DOME-vN.N.N` are tags pointing to public releases of the framework. |
| 14 |
- `feature/*` are branches where new development are experimented before being merged |
| 15 |
into `master`. |
| 16 |
|
| 17 |
The release branches `master`, `stable` and `release/*` are protected and only |
| 18 |
release managers are authorized to merge into. |
| 19 |
|
| 20 |
It is highly recommended to not rebase `feature` branches already pushed on the repository, |
| 21 |
unless there is only one contributor to the feature, on order to avoid losing data. |
| 22 |
|
| 23 |
## Javascript Coding Rules |
| 24 |
|
| 25 |
Your favorite editor shall be configured such that: |
| 26 |
- indentation in two-spaces per level, with no tabulation |
| 27 |
- module names are lowercase identifiers |
| 28 |
- react compomnents are capitalized |
| 29 |
|
| 30 |
## Framework Organization |
| 31 |
|
| 32 |
- [CHANGELOG.md] tracks modifications with releases |
| 33 |
- [CONTRIBUTING.md] recommandations for Dome developpers |
| 34 |
- [CONTRIBUTORS.md] maintains the list of authors |
| 35 |
- [LICENSE.md] framework terms and conditions |
| 36 |
- [README.md] public description |
| 37 |
- `./Makefile` framework quick-testing |
| 38 |
- `./doc` framework documentation resources |
| 39 |
- `./dist` local build for tests (generated) |
| 40 |
- `./html` local documentation (generated) |
| 41 |
- `./src/dome` framework sources |
| 42 |
- `./template` framework configuration templates |
| 43 |
|
| 44 |
For developping an application with **Dome**, follow the indications |
| 45 |
provided by the [README.md] file. |
| 46 |
|
| 47 |
The root Makefile is _not_ designed for |
| 48 |
developping an application with the **Dome** framework. |
| 49 |
See `make` or `make help` for details. |
| 50 |
|
| 51 |
This Makefile has been designed for live-editing and quick-testing the |
| 52 |
framework itself (see « Live Editing » chapter of Html documentation). |
| 53 |
You can type `make dev` to generate an application in `.` and live-edit the |
| 54 |
generated `./src/main/*.js` and `./src/renderer/*.js` files. |
| 55 |
Then, `make app` and `make dist` can be used to test the framework in production mode. |
| 56 |
Use `make doc` to build the documentation in `./html` directory. |