This Readme is WIP and will be updated in the future, when you can actually find a recipe manager here.
Directly after a clone you have to initiate one first build:
- In root directory run
gradle bundle
or./gradlew bundle
.
You will need 2 terminals to achieve hot reloading while coding.
- In server dir run:
gradle -t run
or in root dir run:./gradlew -t :server:run
- in client dir run:
yarn serve
or in root dir run:yarn --cwd client serve
- In root directory run
gradle bundle
or./gradlew bundle
.
This will create a fat-jar file including everything. In production the built Vue project is served by Ktor itself.
To execute the jar file run java -jar build/server-0.0.1.jar
. This will try running on Port 80 (as
it's production),
if you want to test locally run java -jar build/server-0.0.1.jar -port=SOME_PORT
.