-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
116 lines (70 loc) · 2.42 KB
/
readme.txt
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
_____ _ __ __ _ _
/ ____| | / _|/ _| | | | |
| (___ | | ____ _| |_| |_ ___ | | __| | ___ _ __
\___ \| |/ / _` | _| _/ _ \| |/ _` |/ _ \ '__|
____) | < (_| | | | || (_) | | (_| | __/ |
|_____/|_|\_\__,_|_| |_| \___/|_|\__,_|\___|_|
_
| |
| | __ ___ ____ _
_ | |/ _` \ \ / / _` |
| |__| | (_| |\ V / (_| |
\____/ \__,_| \_/ \__,_|
This project was generated by Skaffolder
For more documentation visit https://skaffolder.com/#/documentation
--------------
PREREQUISITES
--------------
- maven
- jdk 1.7
- My SQL Database
--------------
CONFIGURE DATABASE
--------------
On database execute the SQL script script/schemaDb_test2_db.sql generated in folder /script.
--------------
BUILD FRONTEND
--------------
If you are using Angular 4 frontend type:
cd src/client
npm install
npm run build
if you want to keep updating frontend type:
npm run watch
--------------
START APPLICATION
--------------
For start the application open a command line in the project's folder an type:
mvn spring-boot:run
This will start a lite java server on your pc and run the application.
Go to http://localhost:8080
--------------
START WITH DOCKER
--------------
To start the application with Docker:
- Install Docker
- Change db URL in src/main/resources/config/dev.properties to:
'mongodb://database:27017'
- Run command:
docker-compose up --build
- Go to
http://localhost:3000
After code changes you need to rebuild container running:
docker-compose up --build
--------------
SWAGGER API DOCS
--------------
You can find the swagger-ui page on:
http://localhost:8080/swagger-ui.html
--------------
USING SKAFFOLDER-CLI
--------------
With Skaffolder-cli you can easily manage your Skaffolder project from command line and customize your generator template from your IDE.
Install Skaffolder-cli with
npm install -g skaffolder-cli
Login running the command
sk login
Generate your project with the command
sk generate
You can customize your generator template working with files in .skaffolder folder in your project root.
Please refer to https://skaffolder.com/#/documentation/skaffolder-cli for more information.