File tree 7 files changed +109
-28
lines changed
7 files changed +109
-28
lines changed Original file line number Diff line number Diff line change 1
1
node_modules
2
2
public
3
- resources
3
+ resources
4
+ dist
Original file line number Diff line number Diff line change 30
30
31
31
[[main ]]
32
32
name = " Docs"
33
- url = " /docs/guides/quick-start /"
33
+ url = " /docs/guides/instalation /"
34
34
# url = "/docs/1.0/prologue/introduction/"
35
35
weight = 10
36
36
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : " Connection"
3
+ description : " Guides lead a user through a specific task they want to accomplish, often with a sequence of steps."
4
+ summary : " "
5
+ date : 2023-09-07T16:04:48+02:00
6
+ lastmod : 2023-09-07T16:04:48+02:00
7
+ draft : false
8
+ menu :
9
+ docs :
10
+ parent : " "
11
+ identifier : " example-6a1a6be4373e933280d78ea53de6158e"
12
+ weight : 2
13
+ toc : true
14
+ seo :
15
+ title : " " # custom title (optional)
16
+ description : " " # custom description (recommended)
17
+ canonical : " " # custom canonical URL (optional)
18
+ noindex : false # false (default) or true
19
+ ---
20
+
21
+ Lets connect to our database. First we need to add respective JDBC driver. for eg if we need to connect to postgres we need to add
22
+
23
+ ``` xml
24
+ <dependency >
25
+ <groupId >org.postgresql</groupId >
26
+ <artifactId >postgresql</artifactId >
27
+ <version >${postgresql.version}</version >
28
+ </dependency >
29
+ ```
30
+
31
+ Next, We need configure SQLComponents to connect to our database instance. we should create file named ` sql-components.yml ` with below details
32
+
33
+ ``` yml
34
+ # Connection Details
35
+ name : Sample
36
+ url : " jdbc:postgresql://localhost:5432/sampledb"
37
+ userName : " user"
38
+ password : " password"
39
+ schemaName : " sampledb"
40
+
41
+ # Mapping Logic
42
+ rootPackage : " com.example"
43
+ ` ` `
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : " Instalation"
3
+ description : " Guides lead a user through a specific task they want to accomplish, often with a sequence of steps."
4
+ summary : " "
5
+ date : 2023-09-07T16:04:48+02:00
6
+ lastmod : 2023-09-07T16:04:48+02:00
7
+ draft : false
8
+ menu :
9
+ docs :
10
+ parent : " "
11
+ identifier : " example-6a1a6be4373e933280d78ea53de6158e"
12
+ weight : 1
13
+ toc : true
14
+ seo :
15
+ title : " " # custom title (optional)
16
+ description : " " # custom description (recommended)
17
+ canonical : " " # custom canonical URL (optional)
18
+ noindex : false # false (default) or true
19
+ ---
20
+
21
+ SQLComponents can be added as a build plugin. Also we need to add JDBC driver. for example if we need to work with postgres database we should add
22
+
23
+ ``` xml
24
+ <build >
25
+ <plugins >
26
+ ---
27
+ <plugin >
28
+ <groupId >org.sqlcomponents</groupId >
29
+ <artifactId >maven-plugin</artifactId >
30
+ <version >1.0-SNAPSHOT</version >
31
+ <executions >
32
+ <execution >
33
+ <phase >generate-sources</phase >
34
+ <goals >
35
+ <goal >generated-sources</goal >
36
+ </goals >
37
+ </execution >
38
+ </executions >
39
+ <dependencies >
40
+ <dependency >
41
+ <groupId >org.postgresql</groupId >
42
+ <artifactId >postgresql</artifactId >
43
+ <version >${postgresql.version}</version >
44
+ </dependency >
45
+
46
+ </dependencies >
47
+ </plugin >
48
+ ---
49
+ </plugins >
50
+ </build >
51
+
52
+ ```
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11
11
" code" ,
12
12
" details" ,
13
13
" div" ,
14
+ " figcaption" ,
15
+ " figure" ,
14
16
" footer" ,
15
17
" form" ,
16
18
" g" ,
34
36
" noscript" ,
35
37
" p" ,
36
38
" path" ,
39
+ " pre" ,
37
40
" script" ,
38
41
" section" ,
39
42
" small" ,
65
68
" card-body" ,
66
69
" card-list" ,
67
70
" categories" ,
71
+ " chroma" ,
68
72
" col-lg-10" ,
69
73
" col-lg-11" ,
70
74
" col-lg-12" ,
98
102
" docs-toc" ,
99
103
" doks-sidebar" ,
100
104
" error404" ,
105
+ " expressive-code" ,
101
106
" flex-column" ,
102
107
" flex-grow-1" ,
103
108
" flex-lg-row" ,
108
113
" footer" ,
109
114
" form-control" ,
110
115
" form-control-lg" ,
116
+ " frame" ,
111
117
" fs-5" ,
112
118
" h-auto" ,
113
119
" h3" ,
114
120
" h4" ,
115
121
" h5" ,
122
+ " header" ,
123
+ " highlight" ,
116
124
" home" ,
117
125
" icon" ,
118
126
" icon-tabler" ,
137
145
" list-nested" ,
138
146
" list-unstyled" ,
139
147
" list-view" ,
148
+ " m-2" ,
140
149
" mb-0" ,
141
150
" mb-4" ,
142
151
" me-2" ,
169
178
" navbar-brand" ,
170
179
" navbar-expand-lg" ,
171
180
" navbar-nav" ,
181
+ " not-content" ,
172
182
" offcanvas" ,
173
183
" offcanvas-body" ,
174
184
" offcanvas-end" ,
Original file line number Diff line number Diff line change 8
8
< p class ="lead "> {{ .Params.lead | safeHTML }}</ p >
9
9
< a class ="btn btn-secondary btn-cta rounded-pill btn-lg my-3 " href ="https://www.youtube.com/watch?v=KgfnTFI55dc&list=PLEtabm0XBc0R6e8M8GxfIkpWKtTNSqQ9V&index=5 " role ="button "> Watch Video</ a >
10
10
11
- < a class ="btn btn-primary btn-cta rounded-pill btn-lg my-3 " href ="/docs/{{ if site.Params.doks.docsVersioning }}{{ site.Params.doks.docsVersion }}/{{ end }}guides/quick-start / " role ="button "> Getting Started</ a >
11
+ < a class ="btn btn-primary btn-cta rounded-pill btn-lg my-3 " href ="/docs/{{ if site.Params.doks.docsVersioning }}{{ site.Params.doks.docsVersion }}/{{ end }}guides/instalation / " role ="button "> Getting Started</ a >
12
12
13
13
{{ .Content }}
14
14
</ div >
You can’t perform that action at this time.
0 commit comments