Skip to content

famivac/famivac-gestionnaire

Repository files navigation

Famivac - Gestionnaire

Tech Stack

Local Development

  • Start docker-compose: docker-compose up
  • Run project: package payara-micro:bundle payara-micro:start

Startup line

java -Djavamelody.datasources=java:app/PostgreSQLDS -jar target/gestionnaire-2.0.0-microbundle.jar --port 8080 --nocluster

Deploy

eval "$(ssh-agent -s)"
chmod 600 deploy/deploy.key
ssh-add deploy/deploy.key
ssh-keyscan ns377672.ip-37-59-60.eu >> ~/.ssh/known_hosts
git remote add deploy dokku@ns377672.ip-37-59-60.eu:famivac-gestionnaire
git config --global push.default simple
git push deploy master:master

Infrastructure - Dokku

Configure backups

  • dokku postgres:backup-auth famivac-gestionnaire-db-prod AWS_ACCESS_KEY AWS_SECRET_KEY eu-west-3
  • cron : 0 0 * * * dokku postgres:backup famivac-gestionnaire-db-prod famivac-gestionnaire-db-prod

About

Application gestionnaire du site famivac.fr

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages