|
20 | 20 | * This should normally be set to your external ip, check for example: https://whatismyipaddress.com |
21 | 21 |
|
22 | 22 | 5. Go to Environments/Terraform and run terraform apply |
23 | | - * Note the "Hosts-record" output, this needs to be added to your /etc/hosts |
| 23 | + * Note the "Hosts-record" output, this needs to be added to your /etc/hosts |
| 24 | + |
| 25 | + |
| 26 | +## Using DevStack in your project |
| 27 | + |
| 28 | +A note on versions, DevStack is cross-compiled for both Groovy 3 and 2.5, these editions are also available in a standalone edition with shaded dependencies. |
| 29 | + |
| 30 | +The standalone edition should alleviate dependency issues but is also larger |
| 31 | + |
| 32 | +Examples: |
| 33 | + * com.eficode:devstack:2.0.0-SNAPSHOT-groovy-2.5 |
| 34 | + * DevStack version 2.0.0, compiled for groovy 2.5 |
| 35 | + * devstack:2.0.0-SNAPSHOT-groovy-3.0:jar:standalone |
| 36 | + * DevStack version 2.0.0, compiled for groovy 3, standalone edition. |
| 37 | + |
| 38 | +To find the latest version, check the "packages" branch: https://github.com/eficode/devStack/tree/packages/repository/com/eficode/devstack |
| 39 | + |
| 40 | + |
| 41 | +### Maven install |
| 42 | + |
| 43 | +```bash |
| 44 | + |
| 45 | +mvn dependency:get -Dartifact=com.eficode:devstack:2.0.0-SNAPSHOT-groovy-2.5 -DremoteRepositories=https://github.com/eficode/DevStack/raw/packages/repository/ |
| 46 | + |
| 47 | + |
| 48 | +mvn dependency:get -Dartifact=com.eficode:devstack:2.0.0-SNAPSHOT-groovy-2.5:jar:standalone -DremoteRepositories=https://github.com/eficode/DevStack/raw/packages/repository/ |
| 49 | + |
| 50 | +``` |
| 51 | + |
| 52 | + |
| 53 | +### POM dependency |
| 54 | + |
| 55 | +```xml |
| 56 | + .. |
| 57 | + .... |
| 58 | +<dependencies> |
| 59 | + <dependency> |
| 60 | + <groupId>com.eficode</groupId> |
| 61 | + <artifactId>devstack</artifactId> |
| 62 | + <version>2.0.0-SNAPSHOT-groovy-3.0</version> |
| 63 | + <!--Optional standalone classifier--> |
| 64 | + <!--classifier>standalone</classifier--> |
| 65 | + </dependency> |
| 66 | +</dependencies> |
| 67 | + |
| 68 | +.. |
| 69 | +.... |
| 70 | +<repositories> |
| 71 | + <repository> |
| 72 | + <id>eficode-github-DevStack</id> |
| 73 | + <url>https://github.com/eficode/DevStack/raw/packages/repository/</url> |
| 74 | + </repository> |
| 75 | +</repositories> |
| 76 | +.. |
| 77 | +.... |
| 78 | +``` |
0 commit comments