- Make sure the old containers are shut down before re-init with:
docker-compose -f ./backend/docker-compose/docker-compose.yml down
- Then start them with:
docker-compose -f ./backend/docker-compose/docker-compose.yml up
(also see run.sh) - For Frontend Development, start with custom backend url:
VITE_BACKEND_URL=http://127.0.0.1:8080/api npm run start
cd backend/docker-compose
docker-compose -f docker-compose-mysql.yml up
It is a spring boot application in kotlin with maven.
cd backend
./mvnw install
SPRING_PROFILES_ACTIVE=dev ./mvnw spring-boot:run
cd frontend
npm install
VITE_BACKEND_URL=http://localhost:8080/api npm start
For the first time you might need to add rights: chmod 577 ./run.sh
Then just: ./run.sh
git tag -a deploy -m"deploy" -f
git push --tags --force
Event: /scanner/event001
docker exec lm-database-prod sh -c 'exec mysqldump -ulager_melder_user -pPASSWORD --no-tablespaces lager_melder' > ./lm-database.sql
scp username@remote:/file/to/send /where/to/put
- in the backend in
resource/static/kreiszeltlager-logo.jpg
paste the current logo for the email header - For the header past the new image to
src/assets/logo.jpg
and fix styles inHeader.vue
. - Update batch with new logo and text in media and export pdf to
backend/src/main/resource/data/batch.pdf