-
Notifications
You must be signed in to change notification settings - Fork 1
Development Note
zero edited this page Jan 11, 2019
·
38 revisions
- Java 8
- Gradle: Build & Deploy script
- Nexus: Repository server
- Docker is desirable. Refers useful startup scripts
- Create
nexus.secret.propertieswith content:nexusSnapshotUrl=http://<your-nexus-server>/repository/maven-snapshots/ nexusReleaseURL=http://<your-nexus-server>/repository/maven-releases/ nexusUsername=<your-nexus-user> nexusPassword=<your-nexus-password>
-
Build local: compile and build to
jarfile, then push artifact tolocal mavenrepository.gradle clean jooq build uberJar
-
Publish artifacts to
Nexusserver:gradle publish
-
Copy theses artifacts to
demofolder: (will be removed when I standardize build and bundle script)cp -rf dashboard/connector/edge/build/libs/nube-dashboard-connector-edge-1.0.0-SNAPSHOT-fat.jar demo/bios-connector.jarcp -rf edge/bios/build/libs/nube-edge-bios-1.0.0-SNAPSHOT-fat.jar demo/bios.jarcp -rf dashboard/server/build/libs/nube-dashboard-server-1.0.0-SNAPSHOT-fat.jar demo/dashboard.jarcp -rf dashboard/server/webroot demo/
-
Start services (replace
${your-ip})java -Dlogback.configurationFile=logback-bios-connector.xml -jar bios-connector.jar -conf bios-connector.json java -Dlogback.configurationFile=logback-bios.xml -jar bios.jar -conf bios.json java -Dlogback.configurationFile=logback-dashboard.xml -jar dashboard.jar -conf dashboard.json
Will be part of Swagger UI soon. Try Postman version first.
Sub projects naming convention