- Clone the deploy repository
- git clone https://github.com/cpan-testers/cpantesters-deploy
- cd cpantesters-deploy
- Start the development infrastructure in Docker
docker-compose start
- Web is deployed to http://127.0.0.1:3000
- API is deployed to http://127.0.0.1:4000
- Fetch some reports from the public API
- docker-compose run --rm deploy cpantesters-schema fetch report --dist Mojolicious@8.00 --dist Yancy@1.032
- docker-compose run --rm deploy cpantesters-schema fetch release --dist Yancy@1.032
- Now you can...
- Visit the API:
- View the chart:
- Visit Yancy:
- Visit Minion dashboard:
- Access the tester database
- docker-compose run --rm db_tester mysql -h db_tester -u root -p cpantesters
- Password: rootpw
- Access the website database
- docker-compose run --rm db_web mysql -h db_web -u root -p cpantesters_web
- Password: rootpw
- Build a component Docker image for development versions
- Schema
- git clone https://github.com/cpan-testers/cpantesters-schema
- docker build . --tag cpantesters/schema
- Web
- git clone https://github.com/cpan-testers/cpantesters-web
- docker build . --tag cpantesters/web
- API
- git clone https://github.com/cpan-testers/cpantesters-api
- docker build . --tag cpantesters/api
- Backend
- XXX Does not yet have a working Docker container
- Schema
- Restart/rebuild the docker-compose after creating a new component docker image
- docker-compose stop && docker-compose rm -f && docker-compose start
Created
June 22, 2019 21:54
-
-
Save preaction/14880a9777ab905ea9d22a8751906de7 to your computer and use it in GitHub Desktop.
Work with the CPAN Testers docker-compose development environment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment