imskr / whatsdeployed

What's deployed from a Github repo on various server environments?

Home Page:https://whatsdeployed.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What's Deployed?

What's deployed from a GitHub repo on various server environments?

This requires that you have 2 or more URLs that return a git sha that references which git sha has been deployed.

Screenshots

Main table

Example output

"Culprits"

"Culprits"

License

MPL 2.0

Credits

Checkbox icon by IcoCentre.

Development

Development requires both Python 3.6 or higher for the backed, and JS for the front end.

To install dependencies:

pip install -r dev-requirements.txt
yarn install

To run the app, first start the backend (note, you need at least Python 3.6):

DEBUG=1 SQLALCHEMY_DATABASE_URI='postgres:///whatsdeployed' ./app.py

and then in a separate terminal, start the frontend:

yarn start

This will automatically open your browser to http://localhost:3000/

To avoid hitting rate limits on GitHub's API you can go to Personal access tokens and generate a token (without any scopes). How can you set:

export GITHUB_AUTH_TOKEN=afefdf213840aeb8007310ab05fc33eda51a0652

Environment variables

You can put all your environment variables into a .env file, like this:

GITHUB_AUTH_TOKEN=afefdf213840aeb8007310ab05fc33eda51a0652
DEBUG=1
SQLALCHEMY_DATABASE_URI='postgres:///whatsdeployed'

This file will automatically be read when running the Python backend.

Deployment

Really basic for now.

For the front-end, we check the output of yarn run build as a build.zip file. This is generated by running ./bin/build.sh.

About

What's deployed from a Github repo on various server environments?

https://whatsdeployed.io

License:Mozilla Public License 2.0


Languages

Language:JavaScript 62.8%Language:Python 29.9%Language:CSS 2.8%Language:HTML 2.1%Language:Dockerfile 1.9%Language:Shell 0.5%