This app functions like this: You select a few topics of interest, for instance, Sinatra, Rails, Data Structures, etc, and it will send you a daily digest with a curated list of tutorials/articles that you'll love!
Find it here: Learner's Digest
Every article is fetched from the always reliable NewsApi
This are the tools I used:
Clone this repo to your local machine: Open terminal in any folder and type:
git clone https://github.com/peterpaints/learnersdigest.git
Switch to the develop branch using:
git checkout develop
Create two postgres dbs:
createdb microlearn_dev
createdb microlearn_test
Create a .env file with the following sample settings:
EMAIL_USERNAME=your_gmail_username
EMAIL_PASSWORD=your_gmail_password
DATABASE_DEV=postgres://localhost:5432/microlearn_dev
DATABASE_TEST=postgres://localhost:5432/microlearn_test
Run bundler to install gems (dependencies)
bundle
Finally, start the app!
bundle exec rerun 'ruby microlearn.rb'
Or, simply:
rerun rackup
Feel you have something you'd like to see added? Raise a PR!
Run tests with one simple command:
rspec
If that doesn't work, try:
bundle exec rspec