Code and assignments for the "Building Autonomous Services" workshop module.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assignments
bin
docker
src
test
var
.gitignore
.travis.yml
LICENSE
Makefile
README.md
behat.yml
composer.json
composer.lock
docker-compose.consumers.yml
docker-compose.test.yml
docker-compose.web.yml
phpstan.neon
phpunit.xml.dist
run_tests.sh

README.md

Getting started

If you run into any problem, please post it as an issue on GitHub.

  1. For this project you need to have installed on your machine:

    • Docker Engine CE.
    • Docker Compose (install the latest stable version, don't use apt-get and the likes).
    • GNU Make (should be available if you're running Linux or Mac, just try make -v in a terminal).
    • Bash (same here, just try bash --version in a terminal).
    • Git (run git --version to see if you already have it installed).
    • A PHP IDE, preferably PhpStorm.
  2. Clone this project to your machine:

    git clone git@github.com:matthiasnoback/building-autonomous-services-workshop.git
  3. Next, cd into the project directory and run:

    make up

You should finally see a message asking you to open http://dashboard.localhost in your browser. When you do this, you should see a nice web application. Feel free to click around.

Troubleshooting

Docker says: "unknown option: cached"

You need to upgrade Docker.

Docker says: "Bind for 0.0.0.0:80 failed: port is already allocated"

You have some service running that's already listening on port 80 (like a local Apache or Nginx or something). Close it first, then try again.

A note for Windows users

This setup should work on Windows too, with Docker for Windows and Git Bash.

If you feel like you won't be able to install all the tools listed above on your Windows machine, you may want to take a look at Get started with Docker Machine and a local VM).