git submodule update --init --recursive
Linux:
export CARGO_MAKE_VERSION="0.26.1" \
&& curl -sL https://github.com/sagiegurari/cargo-make/releases/download/${CARGO_MAKE_VERSION}/cargo-make-v${CARGO_MAKE_VERSION}-x86_64-unknown-linux-musl.zip \
| busybox unzip -p - cargo-make-v${CARGO_MAKE_VERSION}-x86_64-unknown-linux-musl/cargo-make > bin/cargo-make && chmod a+x bin/cargo-make
macOS:
export CARGO_MAKE_VERSION="0.26.1" \
&& curl -sL https://github.com/sagiegurari/cargo-make/releases/download/${CARGO_MAKE_VERSION}/cargo-make-v${CARGO_MAKE_VERSION}-x86_64-apple-darwin.zip \
| bsdtar --strip-components 1 -C bin/ -xvf - cargo-make-v${CARGO_MAKE_VERSION}-x86_64-apple-darwin/cargo-make
bin/cargo-make make --env-file=tasks.env --makefile=tasks/setup-project.toml
docker-compose up
bin/cargo-make make --makefile tasks.project-specific/build-production-images.toml
docker-compose run bff npm run typeorm -- migration:create --name Initialize
docker-compose run bff npm run typeorm -- migration:generate --name CreateTheWorld
docker-compose run bff npm run typeorm -- migration:run