Skip to content
This repository has been archived by the owner on Mar 7, 2022. It is now read-only.

mazgi/console

Repository files navigation

console

GitHub Actions status for "test-all-services"

How to run

Update submodules

git submodule update --init --recursive

Download cargo-make

Linux:

export CARGO_MAKE_VERSION="0.26.1" \
&& curl -sL https:/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:/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

Set up the project via cargo-make

bin/cargo-make make --env-file=tasks.env --makefile=tasks/setup-project.toml

Run via Docker Compose

docker-compose up

How to build

bin/cargo-make make --makefile tasks.project-specific/build-production-images.toml

How to Migrate DB

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published