Cleaned up api dev start.
This commit is contained in:
		
							parent
							
								
									56c105a240
								
							
						
					
					
						commit
						bc1e2b4397
					
				|  | @ -45,5 +45,4 @@ void main() { | ||||||
|         writeln("No DER public key found. Regenerating it."); |         writeln("No DER public key found. Regenerating it."); | ||||||
|         genKeys(publicKeyDerFile); |         genKeys(publicKeyDerFile); | ||||||
|     } |     } | ||||||
|     writeln("All keys are now generated."); |  | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -27,6 +27,8 @@ public class UserReport { | ||||||
| 	@Column(length = 1024) | 	@Column(length = 1024) | ||||||
| 	private String description; | 	private String description; | ||||||
| 
 | 
 | ||||||
|  | 	public UserReport() {} | ||||||
|  | 
 | ||||||
| 	public UserReport(User user, User reportedBy, String reason, String description) { | 	public UserReport(User user, User reportedBy, String reason, String description) { | ||||||
| 		this.user = user; | 		this.user = user; | ||||||
| 		this.reportedBy = reportedBy; | 		this.reportedBy = reportedBy; | ||||||
|  |  | ||||||
|  | @ -4,4 +4,5 @@ | ||||||
| # should be started via `docker-compose up` in the gymboard root dir. | # should be started via `docker-compose up` in the gymboard root dir. | ||||||
| 
 | 
 | ||||||
| echo "Starting gymboard-api development server." | echo "Starting gymboard-api development server." | ||||||
|  | ./gen_keys.d | ||||||
| ./mvnw spring-boot:run -Dspring-boot.run.profiles=development | ./mvnw spring-boot:run -Dspring-boot.run.profiles=development | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue