Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mojotech/situation-room
Like pingdom, but with more cachet
https://github.com/mojotech/situation-room
Last synced: 2 months ago
JSON representation
Like pingdom, but with more cachet
- Host: GitHub
- URL: https://github.com/mojotech/situation-room
- Owner: mojotech
- License: mit
- Created: 2015-05-06T19:33:00.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-08-24T18:51:22.000Z (over 2 years ago)
- Last Synced: 2024-10-15T00:43:40.378Z (3 months ago)
- Language: JavaScript
- Size: 722 KB
- Stars: 9
- Watchers: 29
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- starred-awesome - situation-room - Like pingdom, but with more cachet (Go)
README
# Situation Room
Situation Room is a self-hosted website "status checker" much along the lines of
[pingdom.com][1] or similar services. Initially, the Situation Room will support
simple uptime status checks, but the ability to add in additional statu type
checks like load times, page load sizes, etc... will be added.The repo is currently in the process of being converted into elixir.
Updates will soon follow.### Comparables
* [https://updown.io/](https://uptimerobot.com/)
* [https://www.statuscake.com/](https://uptimerobot.com/)
* [https://uptimerobot.com/](https://uptimerobot.com/)## Requirements
1. [asdf version manager][2]
- Install the required elixir/erlang versions for this repo with `asdf install `.
- See `.tool-versions` for the needed versions of each tool.
- See the asdf docs for more info.
2. [Docker][3]
- Needed to run the local postgres db
3. [direnv][4] to manage env variables.
- This is what a `.envrc` file is generally consumed by.
- a regular `.env` file will not work with this project## Setup
1. Make sure that the necessary tools versions are active for this project. You can use [asdf][2] for this if needed.
2. run `cp sample.envrc .envrc`
3. Initialize the postgres database by running: `docker-compose up -d`.
4. Install the dependencies: `mix deps.get`
5. Create the database for migrations: `mix ecto.create`
6. Run the migrations: `mix ecto.migrate`
7. Test everything: `mix test`
8. Start the elixir HTTP server: `mix run --no-halt`[1]: https://www.pingdom.com/
[2]: https://asdf-vm.com/
[3]: https://docs.docker.com/get-docker/
[4]: https://direnv.net/
[5]: https://sqlite.org/
[6]: https://www.mysql.com/
[7]: http://www.postgresql.org/