Skip to content

Commit 60bb0b4

Browse files
committed
Added readme instruction.
1 parent d429c37 commit 60bb0b4

File tree

3 files changed

+30
-3
lines changed

3 files changed

+30
-3
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
.idea
2-
.env
2+
.env
3+
4+
/lucene

README.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,30 @@ Todo
2828
- Angular Material
2929
- Elf
3030

31+
## Requirement:
32+
```
33+
Java 11 or above
34+
Node 16 or above
35+
npm 8.5 or above
36+
Angular/cli 13 or above
37+
```
38+
39+
## Run dev mode
40+
- Spring
41+
```
42+
---From root folder
43+
cd api
44+
./mvnw clean install
45+
./mvnw spring-boot:run
46+
```
47+
48+
- Angular
49+
```
50+
---From root folder
51+
cd webapp
52+
npm install
53+
ng serve -o
54+
```
55+
3156
## Screenshot
32-
![screenshot1](https://i.imgur.com/APaxnLA.png?1)
57+
![screenshot1](https://i.imgur.com/0vvbyK5.png)

api/src/main/resources/application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation = true
8484
### Lucene backend configuration
8585
spring.jpa.properties.hibernate.search.backend.lucene_version = LUCENE_8_7_0
8686
spring.jpa.properties.hibernate.search.backend.directory.type = local-filesystem
87-
spring.jpa.properties.hibernate.search.backend.directory.root = api/lucene
87+
spring.jpa.properties.hibernate.search.backend.directory.root = lucene
8888

8989
### Register custom analyzer
9090
spring.jpa.properties.hibernate.search.backend.analysis.configurer = class:io.spring.jbuy.common.search.CustomLuceneAnalysisConfigurer

0 commit comments

Comments
 (0)