Skip to content

Commit 0174f17

Browse files
Updated dockerignore for docker engine v18.09
1 parent 418a938 commit 0174f17

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

.dockerignore

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1-
db/
2-
db/*
3-
target/*
1+
db/data
2+
target/classes
3+
target/generated-sources
4+
target/generated-test-sources
5+
target/maven-archiver
6+
target/maven-status
7+
target/surefire
8+
target/test-classes

readme.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,15 @@ You can also use Maven plugin to run the app. Use the below example to run your
269269
mvn spring-boot:run
270270
```
271271

272-
You can follow any/all of the above commands, or simply use the run configuration provided by your favourite IDE and run/debug the app from there for development purposes. Once the server is setup you should be able to access the admin interface at the following URL :
272+
If you do not have a mongo instance running and still just want to create the JAR, then please use the following command:
273+
274+
```
275+
mvn install -DskipTests
276+
```
277+
278+
This will skip the test cases and won't check the availability of a mongodb instance and allow you to create the JAR.
279+
280+
You can follow any/all of the above commands, or simply use the run configuration provided by your favorite IDE and run/debug the app from there for development purposes. Once the server is setup you should be able to access the admin interface at the following URL :
273281

274282
http://localhost:8080
275283

0 commit comments

Comments
 (0)