Project (backend + frontend submodule)
Locations
- Backend:
src/main/java - Frontend:
src/main/webapp(git submodule) - Documentation:
http://localhost:8080/api/docs(requires development server)
Development
- Install the dependencies
- Clone the backend only
git clone https://github.com/uji-disnote/app.git
- Change the working directory
cd app
-
Start the backend development server
Linux / MacOS
./mvnw quarkus:devWindows (PowerShell)
.\mvnw.cmd quarkus:devWindows (CMD)
mvnw.cmd quarkus:dev
Production
- Install the dependencies
- Clone the project including submodules
git clone --recurse-submodules https://github.com/uji-disnote/app.git
- Change the working directory
cd app
- Compile the project to a docker image (aprox. 10 min)
docker build -t uji-disnote/app .
- Start the project docker image (temporary)
docker run -it --rm -p 8080:8080 uji-disnote/app
Repositories
- Backend:
uji-disnote/app - Frontend:
uji-disnote/webapp