-
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.
Merge pull request #1 from dads-software-brotherhood/master
merge kukulkan core
- Loading branch information
Showing
1,144 changed files
with
249,944 additions
and
4,564 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,35 @@ | ||
{ | ||
"fluentMethods": true, | ||
"relationships": [], | ||
"fields": [ | ||
{ | ||
"fieldName": "nombre", | ||
"fieldType": "String", | ||
"fieldValidateRules": [ | ||
"required" | ||
] | ||
}, | ||
{ | ||
"fieldName": "briefDescription", | ||
"fieldType": "String", | ||
"fieldValidateRules": [ | ||
"required" | ||
] | ||
}, | ||
{ | ||
"fieldName": "description", | ||
"fieldType": "byte[]", | ||
"fieldTypeBlobContent": "text" | ||
}, | ||
{ | ||
"fieldName": "reportType", | ||
"fieldType": "ReportType", | ||
"fieldValues": "OPERATIONAL,INFRAESTRUCTURE" | ||
} | ||
], | ||
"changelogDate": "20170804215615", | ||
"entityTableName": "report", | ||
"dto": "no", | ||
"pagination": "pagination", | ||
"service": "serviceImpl" | ||
} |
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,24 @@ | ||
{ | ||
"fluentMethods": true, | ||
"relationships": [], | ||
"fields": [ | ||
{ | ||
"fieldName": "nombre", | ||
"fieldType": "String" | ||
}, | ||
{ | ||
"fieldName": "description", | ||
"fieldType": "byte[]", | ||
"fieldTypeBlobContent": "text" | ||
}, | ||
{ | ||
"fieldName": "weight", | ||
"fieldType": "Double" | ||
} | ||
], | ||
"changelogDate": "20170804215616", | ||
"entityTableName": "report_element", | ||
"dto": "no", | ||
"pagination": "pagination", | ||
"service": "serviceImpl" | ||
} |
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,37 @@ | ||
{ | ||
"fluentMethods": true, | ||
"relationships": [], | ||
"fields": [ | ||
{ | ||
"fieldName": "nombre", | ||
"fieldType": "String", | ||
"fieldValidateRules": [ | ||
"required" | ||
] | ||
}, | ||
{ | ||
"fieldName": "briefDescription", | ||
"fieldType": "String", | ||
"fieldValidateRules": [ | ||
"required" | ||
] | ||
}, | ||
{ | ||
"fieldName": "description", | ||
"fieldType": "byte[]", | ||
"fieldTypeBlobContent": "text", | ||
"fieldValidateRules": [ | ||
"required" | ||
] | ||
}, | ||
{ | ||
"fieldName": "order", | ||
"fieldType": "Integer" | ||
} | ||
], | ||
"changelogDate": "20170804215617", | ||
"entityTableName": "report_indicator", | ||
"dto": "no", | ||
"pagination": "pagination", | ||
"service": "serviceImpl" | ||
} |
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,92 @@ | ||
# kukulkancraftsman | ||
|
||
# Instalación local utilizando Yarn (Recomendada) | ||
1. Instalar [Java 8](http://www.oracle.com/technetwork/java/javase/downloads/index.html) desde el sitio web de Oracle. | ||
2. (Opcional) Instalar Maven. El proyecto tiene un Wrapper de Maven que instalar la version adecuada, sin embargo es posible instalarlo desde los paquetes binarios. | ||
3. Instalar [Git](https://git-scm.com/) desde el sition web. | ||
4. Instalar [Node.js](https://nodejs.org/es/) desde el sitio web (utilizar la version LTS) | ||
5. Instalar [Yar](https://yarnpkg.com/en/docs/install) desde el sitio Web | ||
7. Instalar Bower: `yarn global add bower` | ||
8. Instalar Gulp: `yarn global add gulp-cli` | ||
|
||
Kukukkan app | ||
Nota: Si tienes problemas utilizando las herramientas anteriores de manera global, asegurate que tienes la ruta siguiente en tu variable de ambiente `PATH` la siguiente ruta `$HOME/.config/yarn/global/node_modules/.bin` | ||
|
||
On Para Mac o Linux: export PATH="$PATH:`yarn global bin`:$HOME/.config/yarn/global/node_modules/.bin" | ||
|
||
# Instalar paquetes con Bower | ||
|
||
### Instalar un paquete en el archivo bower.json | ||
`$ bower install PACKAGE --save` | ||
### Instalar los paquetes listados en el archivo bower.json | ||
`$ bower install` | ||
|
||
|
||
# Para inyectar dependencias | ||
|
||
Inyectar depedencias front-end en el codigo: | ||
`gulp inject` | ||
|
||
Para generar las constantes AngularJS: | ||
`gulp ngconstant:dev` | ||
|
||
Para hacer los pasos anteriores con un unico comando: | ||
`gulp install` | ||
|
||
|
||
## Template key-params | ||
|
||
#### Project | ||
|
||
`projectName` : the name of the project | ||
|
||
#### Entity | ||
|
||
`entity`: Name of the entity | ||
`entityHyphenNotation`: hyphen notation of the entity | ||
`entityHyphenNotationPlural`: hyphen notation in plural format of the entity | ||
`entityCamelCase`: entity in camel-case notation | ||
`entityCamelCasePlural`: entity in camel-case plural format | ||
`hasBlobProperties`: true if the entity has blob properties, false otherwise | ||
`hasTimeProperties`: true if the entity has time properties, false otherwise | ||
`hasLocalDate`: true if the entity has LocalDate properties, false otherwise | ||
|
||
#### Entity-Properties | ||
|
||
`property.name`: the name of the property in camelCase format | ||
`property.qualifiedName`: the qualifiedName in java world | ||
`property.columnType`: the type of the property in the datamodel representation | ||
`property.blob`: true if the property is blob, false otherwise | ||
`property.time`: true if the property is time, false otherwise | ||
`property.clob`: true if the property is clob, false otherwise | ||
`property.bigDecimal`: true if the property is bigDecimal, false otherwise | ||
`property.localDate`: true if the property is localDate, false otherwise | ||
`property.instant`: true if the property is instant, false otherwise | ||
`property.zoneDateTime`: true if the property is zoneDateTime, false otherwise | ||
|
||
|
||
### template quick reference | ||
|
||
`property.columnType?contains("TIMESTAMP")` | ||
`property.columnType?cap_first` | ||
|
||
#### Update docker image | ||
|
||
1. In a terminal, set the environment variable **DOCKER_ID_USER** as your username in Docker Cloud. | ||
|
||
export DOCKER_ID_USER="danimaniarqsoft" | ||
|
||
2. Log in to Docker Cloud using the docker login command. | ||
|
||
docker login | ||
|
||
3. Tag your image using docker tag. | ||
|
||
docker tag kukulkan $DOCKER_ID_USER/kukulkan | ||
|
||
4. Push your image to Docker Hub using docker push (making the same replacements as in the previous step). | ||
|
||
docker push $DOCKER_ID_USER/kukulkan | ||
|
||
Check that the image you just pushed appears in Docker Cloud. | ||
|
||
Go to Docker Cloud and navigate to the Repositories tab and confirm that your image appears in this list. |
Oops, something went wrong.