Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

hammerspacecouk/cargo-api

Repository files navigation

Build status

Saxopholis (API)

Loading...

Set up local dev environment

On Windows:

Invoke-Expression -Command (aws ecr get-login --no-include-email --region eu-west-2)
docker-compose up -d

Add commit hook

cp bin/hooks/pre-commit .git/hooks

cd .git/hooks
ln -s ../../bin/hooks/pre-commit.sh pre-commit

Data for local

docker-compose exec cargo-api-php php bin/console game:init:make-ports build/Port.csv &&  docker-compose exec cargo-api-php php bin/console game:init:make-channels build/Channel.csv && docker-compose exec cargo-api-php php bin/console game:init:make-coords && docker-compose exec cargo-api-php php bin/console game:admin:map {SECRET}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages