Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peterbe/whatsdeployed
What's deployed from a Github repo on various server environments?
https://github.com/peterbe/whatsdeployed
Last synced: about 2 months ago
JSON representation
What's deployed from a Github repo on various server environments?
- Host: GitHub
- URL: https://github.com/peterbe/whatsdeployed
- Owner: peterbe
- License: mpl-2.0
- Created: 2013-11-01T23:13:59.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2023-12-01T14:44:22.000Z (about 1 year ago)
- Last Synced: 2024-07-31T13:42:44.343Z (4 months ago)
- Language: JavaScript
- Homepage: https://whatsdeployed.io
- Size: 4.57 MB
- Stars: 85
- Watchers: 6
- Forks: 18
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- starred-awesome - whatsdeployed - What's deployed from a Github repo on various server environments? (JavaScript)
- awesome-starred - peterbe/whatsdeployed - What's deployed from a Github repo on various server environments? (others)
README
# 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](screenshot.png)
### "Culprits"
!["Culprits"](culprits.png)
## License
[MPL 2.0](http://www.mozilla.org/MPL/2.0/)
## Credits
[Checkbox icon](https://www.iconfinder.com/icons/282474/check_done_ok_icon#size=16)
by [IcoCentre](https://www.iconfinder.com/konekierto).## 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](https://github.com/settings/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.