-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnotes
83 lines (63 loc) · 2.44 KB
/
notes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<execution>
<id>bower install</id>
<goals>
<goal>bower</goal>
</goals>
<configuration>
<arguments>install</arguments>
</configuration>
</execution>
<execution>
<id>jspm install</id>
<goals>
<goal>jspm</goal>
</goals>
<configuration>
<arguments>--version</arguments>
</configuration>
</execution>
<execution>
<id>grunt build</id>
<goals>
<goal>grunt</goal>
</goals>
<configuration>
<arguments>--no-color</arguments>
</configuration>
</execution>
<execution>
<id>gulp build</id>
<phase>generate-resources</phase>
<goals>
<goal>gulp</goal>
</goals>
<configuration>
<environmentVariables>
<NODE_ENV>production</NODE_ENV>
</environmentVariables>
</configuration>
</execution>
<execution>
<id>javascript tests</id>
<goals>
<goal>karma</goal>
</goals>
<configuration>
<karmaConfPath>src/test/javascript/karma.conf.ci.js</karmaConfPath>
</configuration>
</execution>
ok
mvn spring-boot:run
java -jar target/myapplication-0.0.1-SNAPSHOT.jar
https://medium.com/@benjaminliu_42474/how-to-setup-spring-boot-with-reactjs-and-webpack-9b190edeb0c8
npm i -D css-loader style-loader
=========Docker commands=============
Docker Build Image: docker build -f DockerFile -t dockerspringboot .
List Images: docker images -a
remove all dangling images: docker images purge
to run docker image: docker run -p 8090:8090 dockerspringboot
List all containers (only IDs) : docker ps -aq
Stop all running containers : docker stop $(docker ps -aq)
Remove all containers : docker rm $(docker ps -aq)
Remove all images : docker rmi $(docker images -q)
===================================