https://github.com/sobotics/redunda
Status monitoring for SOBotics' bots
https://github.com/sobotics/redunda
bots monitoring status-dashboard
Last synced: 12 months ago
JSON representation
Status monitoring for SOBotics' bots
- Host: GitHub
- URL: https://github.com/sobotics/redunda
- Owner: SOBotics
- License: cc0-1.0
- Created: 2017-03-07T19:25:23.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2023-03-08T17:49:52.000Z (about 3 years ago)
- Last Synced: 2024-12-06T19:53:05.502Z (over 1 year ago)
- Topics: bots, monitoring, status-dashboard
- Language: Ruby
- Homepage: https://redunda.sobotics.org/
- Size: 229 KB
- Stars: 7
- Watchers: 4
- Forks: 5
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Redunda
Status monitoring for SOBotics' bots.
## Installation
Clone the repository first, and change into its directory.
- **Set up config**
Copy `config/config.sample.yml` to `config/config.yml`. Edit the values in the new config file to
correct values - you'll need an application registered with the SE API via StackApps to get a key,
client ID, and client secret.
- **Set database config**
Copy `config/database.sample.yml` to `config/database.yml`. Edit the file to add the correct values
for your environment.
- **Set secret keys** (prod deployments only)
Edit `config/secrets.yml`. Either set a secret directly in the file, or ensure that when you boot
the server, there's one set in `$ENV["SECRET_KEY_BASE"]`.
Edit `config/initializers/devise.rb`. Again, either ensure that `config.secret_key` is set, or that
you set it from a populated environment variable when the server boots.
- **Install gems**
Run `bundle install`.
- **Set up the database**
Run `rails db:setup RAILS_ENV=production`.
- **Precompile assets** (prod deployments only)
Run `rails assets:precompile RAILS_ENV=production`. You'll also need to ensure you have a public file
server enabled - either configure Rails to serve your static assets (set
`config.public_file_server.enabled = true` in `config/environments/production.rb`), or configure a
server in front of your application such as Apache or nginx.
- **Run the server**
Run `rails s` with whatever options you choose for your environment.
## License
CC0, or public domain where possible.