Whatsdeployed
What's deployed from a Github repo on various server environments?
Install / Use
/learn @peterbe/WhatsdeployedREADME
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

"Culprits"

License
Credits
Development
Development requires both Python 3.6 or higher for the backed, and JS for the front end.
To install dependencies:
pip install -r requirements.txt
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.
Upgrade dependencies
To upgrade a dependency, edit requirements.in and then run:
pip-compile --generate-hashes requirements.in
Now you should have a change in requirements.in and in requirements.txt.
Check in both.
Related Skills
tmux
346.4kRemote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
diffs
346.4kUse the diffs tool to produce real, shareable diffs (viewer URL, file artifact, or both) instead of manual edit summaries.
terraform-provider-genesyscloud
Terraform Provider Genesyscloud
blogwatcher
346.4kMonitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.
