Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ericlondon/rails5-jruby-redshift
Rails 5, JRuby, RedShift Table Browsing Interface
https://github.com/ericlondon/rails5-jruby-redshift
activerecord-jdbcpostgresql-adapter jruby query rails redshift
Last synced: about 1 month ago
JSON representation
Rails 5, JRuby, RedShift Table Browsing Interface
- Host: GitHub
- URL: https://github.com/ericlondon/rails5-jruby-redshift
- Owner: EricLondon
- Created: 2016-02-18T15:50:22.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-08-05T11:47:00.000Z (5 months ago)
- Last Synced: 2024-08-05T13:37:38.491Z (5 months ago)
- Topics: activerecord-jdbcpostgresql-adapter, jruby, query, rails, redshift
- Language: Ruby
- Homepage:
- Size: 49.8 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Rails 5, JRuby, RedShift Table Browsing Interface
### Description
This project is a Rails 5 JRuby demo project to connect to a Redshift database,
get a list of tables, and show the top 20 records in a table.### Project Setup
- Add Redshift ENV variable credentials (~/.profile, .env, etc):
- export REDSHIFT_HOST=
- export REDSHIFT_PORT=
- export REDSHIFT_USERNAME=
- export REDSHIFT_PASSWORD=
- export REDSHIFT_DATABASE=
- `rvm install jruby-9.0.5.0`
- git clone project
- `bundle install`
- `rake db:create && rake db:migrate`
- `rails s`
- browse to: http://localhost:3000