Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryandotsmith/komrade-api
The api to the komrade service
https://github.com/ryandotsmith/komrade-api
Last synced: about 2 months ago
JSON representation
The api to the komrade service
- Host: GitHub
- URL: https://github.com/ryandotsmith/komrade-api
- Owner: ryandotsmith
- Created: 2013-02-03T04:56:51.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-06-10T22:20:26.000Z (over 11 years ago)
- Last Synced: 2024-10-13T17:47:40.422Z (3 months ago)
- Language: Ruby
- Size: 477 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# komrade api
This app is responsible to handeling the provisioning requets made by heroku addons. It also serves the komrade dashboard. Both of these tasks require the komrade api to have access to the komrade database.
## local setup
```bash
$ export $(cat sample.env)
$ bundle install
# Queue Management Database
$ dropdb komrade
$ createdb komrade
$ pg_dump $(heroku config -a komrade-store -s | grep "^DATABASE_URL" | sed 's/DATABASE_URL=//') -s --no-acl --no-owner | psql komrade
$ psql komrade -c "insert into queues (heroku_id) values ('`whoami`');"
# Queue Statistics Database
$ dropdb komrade-stats
$ createdb komrade-stats
$ pg_dump $(heroku config -a komrade-store -s | grep "^STATS_DATABASE_URL" | sed 's/STATS_DATABASE_URL=//') -s --no-acl --no-owner | psql komrade-stats
$ bundle exec bin/web
```