-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Started documenting the Company level.
- Loading branch information
Showing
29 changed files
with
501 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# 00-docs | ||
This provides a template or starting point for the documentation of your company project. | ||
|
||
For documentation, we use [laika](https://typelevel.org/Laika/latest/table-of-content.html). | ||
|
||
The following files you need to adjust: | ||
|
||
```bash | ||
00-docs/src/docs | ||
| - contact.md | ||
| - instructions.md | ||
| - pattern.md | ||
| - statistics.md | ||
``` | ||
|
||
The following files will be created by `.helper.scala prepareDocs`: | ||
|
||
```bash | ||
00-docs/src/docs | ||
| - dependencies | ||
| - helium | ||
| - catalog.md | ||
| - devStatistics.md | ||
| - index.md | ||
| - overviewDependencies.md | ||
| - release.md | ||
``` | ||
So do **not adjust** them manually. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# 02-bpmn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# 03-api |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# 03-dmn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# 03-simulation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# 03-worker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# 04-helper |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Development | ||
|
||
This describes the development process of the company project (`mycompany-camundala/helper.scala`). | ||
|
||
Make sure `helper.scala` is executable: | ||
|
||
```bash | ||
cd ~/dev-mycompany/mycompany-camundala | ||
chmod +x helper.scala | ||
``` | ||
|
||
@:callout(info) | ||
To update this project, use `../helperCompany init` - see [Init Company]. | ||
@:@ | ||
|
||
## publish | ||
|
||
## prepareDocs | ||
|
||
## publishDocs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
laika.navigationOrder = [ | ||
intro.md | ||
sbt.md | ||
00-docs.md | ||
02-bpmn.md | ||
03-api.md | ||
03-dmn.md | ||
03-simulation.md | ||
03-worker.md | ||
04-helper.md | ||
development.md | ||
postman.md | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
{% | ||
helium.site.pageNavigation.enabled = false | ||
%} | ||
|
||
# Introduction | ||
|
||
A Company Project handles the specific configuration for the company. | ||
|
||
@:callout(info) | ||
Make sure you have [init the company](../development/initCompany.md). | ||
|
||
In this process many files are generated and some are replaced. | ||
|
||
Only files with the comment `DO NOT ADJUST` will be replaced. | ||
So if you add custom code, make sure to remove this comment. | ||
|
||
We recommend you make a comment what you have changed, | ||
so you can easily update the file from time to time. | ||
(just add the `DO NOT ADJUST` comment again) | ||
|
||
If there is no `DO NOT ADJUST` comment, you need to delete it if you want the newest version of this file. | ||
|
||
Normally these files have the comment: `// This file was created with .. - to reset delete it and run the command.`. | ||
@:@ | ||
|
||
The layout looks similar to a BPMN project: | ||
```bash | ||
myCompany-camundala | ||
| 00-docs | ||
| 02-bpmn | ||
| 03-api | ||
| 03-dmn | ||
| 03-simulation | ||
| 03-worker | ||
| 04-helper | ||
| project | ||
| build.sbt | ||
| helper.scala | ||
|
||
``` | ||
|
||
To setup the Company Project, follow these steps: | ||
|
||
1. Open the `mycompany-camundala` directory with your IDE (I use Intellij). | ||
1. Import the sbt project. The project should compile without errors. | ||
1. **[sbt]** | ||
|
||
The build tool (`project`, `build.sbt`). | ||
|
||
1. **[00-docs]** | ||
|
||
The company's documentation. | ||
1. **[02-bpmn]** | ||
|
||
General configurations and code for the _BPMN DSL_. | ||
1. **[03-api]** | ||
|
||
General configurations and code for the _Api DSL_. | ||
1. **[03-dmn]** | ||
|
||
General configurations and code for the _DmnTester DSL_. | ||
1. **[03-simulation]** | ||
|
||
General configurations and code for the _Simulation DSL_. | ||
1. **[03-worker]** | ||
|
||
General configurations and code for the _Worker DSL_. | ||
1. **[04-helper]** | ||
|
||
General configurations and code for the development process of the projects, | ||
Including the Company project. | ||
|
||
1. **[Development]** | ||
|
||
The `helper.scala` script supports the development process. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Postman | ||
We use postman to test the APIs and deploy our projects. | ||
|
||
## Test the APIs | ||
|
||
TODO | ||
|
||
## Deploy the Projects | ||
|
||
TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# sbt | ||
|
||
The _sbt_ files are structured as follows: | ||
|
||
```bash | ||
myCompany-camundala | ||
| project | ||
| | build.properties | ||
| | plugins.sbt | ||
| | ProjectDef.scala | ||
| | Settings.scala | ||
| build.sbt | ||
|
||
``` | ||
|
||
## build.properties | ||
Contains _only_ the sbt version. | ||
(updated automatically) | ||
|
||
## plugins.sbt | ||
Defines the plugins used in the project. | ||
(updated automatically) | ||
|
||
## ProjectDef.scala | ||
Defines the project naming (_organisation, name, version_). | ||
(updated automatically) | ||
|
||
You should **not adjust** this file, as in is used in the development process. | ||
|
||
## Settings.scala | ||
Contains the settings for the build project. | ||
(updated automatically) | ||
|
||
## build.sbt | ||
Top level of the build definition. Make your adjustments here. | ||
|
||
Check it for the _**TODOs**_ and adjust them to your needs. | ||
|
||
At the moment you need at least define the _repository_ settings. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
{% | ||
helium.site.pageNavigation.enabled = false | ||
%} | ||
# Init Company | ||
**Experimental** | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.