Cleaned up api dev start.

This commit is contained in:
Andrew Lalis 2023-03-24 13:18:30 +01:00
parent 56c105a240
commit bc1e2b4397
3 changed files with 3 additions and 1 deletions

View File

@ -45,5 +45,4 @@ void main() {
writeln("No DER public key found. Regenerating it.");
genKeys(publicKeyDerFile);
}
writeln("All keys are now generated.");
}

View File

@ -27,6 +27,8 @@ public class UserReport {
@Column(length = 1024)
private String description;
public UserReport() {}
public UserReport(User user, User reportedBy, String reason, String description) {
this.user = user;
this.reportedBy = reportedBy;

View File

@ -4,4 +4,5 @@
# should be started via `docker-compose up` in the gymboard root dir.
echo "Starting gymboard-api development server."
./gen_keys.d
./mvnw spring-boot:run -Dspring-boot.run.profiles=development