GithubHelp home page GithubHelp logo

snehajalukar / dx-automator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sendgrid/dx-automator

0.0 2.0 0.0 12.44 MB

A tool for automatically managing priorities across multiple GitHub repositories

HTML 6.43% JavaScript 15.32% CSS 0.55% Dockerfile 1.91% Python 74.70% Shell 1.11%

dx-automator's Introduction

The Developer Experience (DX) Automator

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!

Contributing

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.

Attributions

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.

Usage - Local

Create Local Docker Machine

docker-machine create -d virtualbox dx-automator-dev

Deploy Locally

Setup your environment variables:

cp ./services/github/.env_sample ./services/github/.env
cp ./services/looker/.env_sample ./services/github/.env

Install:

./source_the_things.sh
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
curl http://$DX_IP/github/ping
curl http://$DX_IP/github/members
curl http://$DX_IP/github/is_member/<github_username>

Grab the IP address.

echo $DX_IP

And now paste that IP into your browser and you should see a task list.

Connect to Local DB

docker-compose -f docker-compose-dev.yml exec users-db psql -U postgres
# \c users_dev
# select * from users;
# \q

Usage - Cloud

Create AWS Docker Machine

docker-machine create --driver amazonec2 dx-automator-prod

Deploy to AWS

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.