junk drawer for reddit
finally organize all your saved junk from reddit
- Git for cloning the repository
- Ruby version 2.4.0
- PostgreSQL version >= 9.5
- Node.js for a JavaScript runtime
For instructions on setting up a working dev environment:
Note: These instructions are for Ubuntu 16.x.
These instructions cover:
- Installing Git
- Installing Ruby 2.4.0
- Setting up PostgreSQL
- Installing Node.js
Once everything is setup, you can clone this project:
$ git clone https://github.com/onebree/junk-drawer.gitcd into the project, and install all necessary gems:
$ bundle installNow setup your test and development databases:
$ rails db:create
$ rails db:migrateTo run the app locally, run the Rails server, and visit localhost:3000/.
$ rails sIn development, the Reddit omniauth strategy cannot be tested. Instead, you'll be redirected to the developer strategy. Log in with any nickname you want.
To work with the database or IRB, run the Rails console:
$ rails c