You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://github.com/steve-community/steve/actions/workflows/main.yml)
* MySQL or MariaDB. You should use [one of these](.github/workflows/main.yml#L11) supported versions.
44
44
@@ -72,17 +72,17 @@ SteVe is designed to run standalone, a java servlet container / web server (e.g.
72
72
73
73
3. Configure SteVe **before** building:
74
74
75
-
The basic configuration is defined in [main.properties](src/main/resources/config/prod/main.properties):
76
-
- You _must_ change [database configuration](src/main/resources/config/prod/main.properties#L9-L13)
77
-
- You _must_ change [the host](src/main/resources/config/prod/main.properties#L22) to the correct IP address of your server
78
-
- You _must_ change [web interface credentials](src/main/resources/config/prod/main.properties#L17-L18)
79
-
- You _can_ access the application via HTTPS, by [enabling it and setting the keystore properties](src/main/resources/config/prod/main.properties#L32-L35)
75
+
The basic configuration is defined in [application-prod.properties](src/main/resources/application-prod.properties):
76
+
- You _must_ change [database configuration](src/main/resources/application-prod.properties)
77
+
- You _must_ change [the host](src/main/resources/application-prod.properties) to the correct IP address of your server
78
+
- You _must_ change [web interface credentials](src/main/resources/application-prod.properties)
79
+
- You _can_ access the application via HTTPS, by [enabling it and setting the keystore properties](src/main/resources/application-prod.properties)
80
80
81
81
For advanced configuration please see the [Configuration wiki](https://github.com/steve-community/steve/wiki/Configuration)
82
82
83
83
4. Build SteVe:
84
84
85
-
To compile SteVe simply use Maven. A runnable `jar` file containing the application and configuration will be created in the subdirectory `steve/target`.
85
+
To compile SteVe simply use Maven. A runnable `war` file containing the application and configuration will be created in the subdirectory `steve/target`.
86
86
87
87
```
88
88
# ./mvnw package
@@ -93,15 +93,15 @@ SteVe is designed to run standalone, a java servlet container / web server (e.g.
93
93
To start the application run (please do not run SteVe as root):
94
94
95
95
```
96
-
# java -jar target/steve.jar
96
+
# java -jar target/steve.war
97
97
```
98
98
99
99
# Docker
100
100
101
101
If you prefer to build and start this project via docker (you can skip the steps 1, 4 and 5 from above), this can be done as follows: `docker compose up -d`
102
102
103
103
Because the docker compose file is written to build the project for you, you still have to change the project configuration settings from step 3.
104
-
Instead of changing the [main.properties in the prod directory](src/main/resources/config/prod/main.properties), you have to change the [main.properties in the docker directory](src/main/resources/config/docker/main.properties). There you have to change all configurations which are described in step 3.
104
+
Instead of changing the [application-prod.properties](src/main/resources/application-prod.properties), you have to change the [application-docker.properties](src/main/resources/application-docker.properties). There you have to change all configurations which are described in step 3.
105
105
The database password for the user "steve" has to be the same as you have configured it in the docker compose file.
106
106
107
107
With the default docker compose configuration, the web interface will be accessible at: `http://localhost:8180`
0 commit comments