Skip to content

nitkc-proken/freight-backend

Repository files navigation

Start server

$ docker compose -f docker-compose.prod.yml up -d

http://localhost:8080/api/swagger

Seeding (テストデータの注入)

$  docker exec -it freight-backend java -cp /app/freight-server.jar  io.github.nitkc_proken.freight.database.SeedKt 

or

$ ./gradlew seed

Apply migration

$ ./gradlew applyMigration

or

$  docker exec -it freight-backend java -cp /app/freight-server.jar  io.github.nitkc_proken.freight.database.MigrationKt 

Generate migration script

$ ./gradlew generateMigrationScript

or

$  docker exec -it freight-backend java -cp /app/freight-server.jar  io.github.nitkc_proken.freight.database.GenerateMigrationScriptKt 

Releases

No releases published

Packages