rainsoupah / sleep-learner

tribute to calhacks 3.0
4 stars 3 forks source link
learning react-redux react-router reactjs sat sleep words

Sleep Learner

There are videos on youtube of a voice saying a word and its definition for hours, so you play it while you sleep.

The problem with this is you’re going to know a lot of the words. Wouldn’t it be more useful if it generated a mp3 personalized for you, based on words you find difficult? In this hackathon project, we quiz the user to find out what words he doesn’t know, then use a speech library to play the words and definitions as he falls asleep.

Installation

  1. virtualenv venv
  2. source venv/bin/activate
  3. pip install -r requirements.txt
  4. sudo npm install -g bower
  5. bower install
  6. npm install --save-dev babel-cli babel-preset-react
  7. sh init_db.sh
  8. mkdir -p /data/sleep-learner

Running

  1. python project/app.py
  2. Go to localhost:5000