production
- dart
- docker
dev
- mysqldef
but run
./scripts/script.sh
$ docker compose build
$ docker comopose up -d
$ ./scripts/script.sh
$ ./sql/migrate.sh
$ docker compose run --rm server dart ./sql/sql.dart seed
$ docker compose up
mysqldefがあったら ./sciripts/script.sh
は実行しなくて良い
$ docker compose build
$ docker compose up -d
$ ./scripts/script.sh
$ ./sql/migrate.sh
$ docker compose run --rm server dart ./sql/sql.dart seed
$ docker compose run --rm server dart ./sql/sql.dart user ./sql/user.csv
$ docker compose up -d
$ docker logs SeeFT-API -f
$ docker compose run --rm server dart format ./ -l 120 --set-exit-if-changed
$ chmod u+x ./scripts/script.sh
$ chmod u+x ./sql/migrate.sh
$ docker compose run --rm server dart pub get
一度コンテナをdownさせてからupし直してみてください。
NUTMEG(技大祭実行委員会情報局) mail: nutfes.info [at] gmail