This tool is intended to help make managing multiple Github repositories much easier for DX, DevRel, and Open Source Engineering teams.
Please check out the development branch to see what's going on.
We will update this README and the master branch, as well as deploy the code to pypi once the MVP is ready!
Everyone who participates in our repo is expected to comply with our Code of Conduct.
We welcome contributions in the form of issues, pull requests and code reviews. Or you can simply shoot us an email.
We believe in open source and want to give credit where it's due. We used the amazing tutorial at testdriven.io to guide us in setting a solid foundation using flask, docker, and (eventually) node and react. From this tutorial, we began to build and iterate.
docker-machine create -d virtualbox dx-automator-dev
docker-machine start dx-automator-dev
docker-machine env dx-automator-dev
eval $(docker-machine env dx-automator-dev)
docker-compose -f docker-compose-dev.yml up -d --build
DX_IP="$(docker-machine ip dx-automator-dev)"
./scripts/setup-local-db
Run these commands to test if everything is working correctly.
curl http://$DX_IP/tasks/ping
curl http://$DX_IP/tasks
curl http://$DX_IP/users/ping
curl http://$DX_IP/users
Grab the IP address.
echo $DX_IP
And now paste that IP into your browser and you should see a task list.
docker-compose -f docker-compose-dev.yml exec users-db psql -U postgres
# \c users_dev
# select * from users;
# \q
docker-machine create --driver amazonec2 dx-automator-prod
docker-machine env dx-automator-prod
eval $(docker-machine env dx-automator-prod)
docker-compose -f docker-compose-prod.yml up -d --build
DX_IP="$(docker-machine ip dx-automator-prod)"
curl http://$DX_IP/users/ping
curl http://$DX_IP/users