-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
54c01f1
commit 97caa9d
Showing
1 changed file
with
1 addition
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1 @@ | ||
# RoomPicker (work in progress) | ||
|
||
## Build | ||
### Windows | ||
```shell | ||
gradlew.bat build | ||
``` | ||
|
||
### Linux | ||
```shell | ||
./gradlew build | ||
``` | ||
|
||
## Run | ||
After build, we can see done jar files for usage at locations `./app/build/libs/app-0.0.1-SNAPSHOT.jar` | ||
and `./control-panel/build/libs/control-panel-0.0.1-SNAPSHOT.jar`. | ||
|
||
For run application we need start `app` first, then if we want we can start `control-panel` next. | ||
|
||
For start application we need have Java 17. | ||
|
||
### app (main application) | ||
Start application: | ||
```shell | ||
java -jar app-0.0.1-SNAPSHOT.jar | ||
``` | ||
|
||
Start with debug mode using test data(not for production): | ||
```shell | ||
java -jar -Dspring.profiles.active=test app-0.0.1-SNAPSHOT.jar | ||
``` | ||
|
||
#### Environments | ||
| Name | Description | Default value | | ||
|----------------------|------------------------|---------------| | ||
| ROOM_PICKER_USER | Default admin username | admin | | ||
| ROOM_PICKER_PASSWORD | Default admin password | admin | | ||
|
||
### control-panel (optional) | ||
Copy the folder with frontend to working directory. Working directory need have below structure: | ||
```text | ||
working-dir/ | ||
* frontend/ | ||
* control-panel-0.0.1-SNAPSHOT.jar | ||
``` | ||
|
||
Start application: | ||
```shell | ||
java -jar control-panel-0.0.1-SNAPSHOT.jar | ||
``` | ||
|
||
#### Environments | ||
| Name | Description | Default value | | ||
|-----------------|-------------------------|------------------------| | ||
| ROOM_PICKER_URL | URL to main application | http://localhost:8080/ | | ||
# RoomPicker |