Point your browsers to our production instance at ryyppy.net.
Ryyppy.net is a web application which helps you keep track of your consummation of alcoholic beverages. You can also bring your friends along. All you need is an HTML5-compliant browser to see your current state of drunkenness.
On a technical level ryyppy.net consists of a backend written in Java and an HTML5 frontend. Backend does all the calculations, user management etc. and provides these via REST web service for frontend to consume.
Requirements:
- Java 11 to run the application
- Maven 3 to build the application
- Docker to run the database server
- Start database server
docker compose -f docker/docker-compose.yml up
- Start application
mvn spring-boot:run
- Open browser at
localhost:8080
- Make changes to resources or compile Java code. Browser should automatically refresh with changes.
- Update version number in pom.xml
- Make a git TAG with the version number
- Run
mvn install
to build the application .war file
Set configuration using environment variables:
- SPRING_DATASOURCE_URL - JDBC Url to Postgresql database
- SPRING_DATASOURCE_USERNAME - Database username
- SPRING_DATASOURCE_PASSWORD - Database password
- Copy
ryyppynet-<version>.war
to server - Run application
java -jar ryyppynet-<version>.war