This application is designed to be a news aggregator for NHK Easy News. It's goal is to provide an easy to read format for mobile devices and potentially add additional features for non-native speakers to better learn the Japanese language.
- Postgresql
- Redis
After installing Postgres, run:
createuser yesod --password yesod --superuser
createdb nhk_reader_development
- If you haven't already, install Stack
- On POSIX systems, this is usually
curl -sSL https://get.haskellstack.org/ | sh
- On POSIX systems, this is usually
- Install the
yesod
command line tool:stack install yesod-bin --install-ghc
- Build libraries:
stack build
If you have trouble, refer to the Yesod Quickstart guide for additional detail.
Start a development server with:
stack exec -- yesod devel
As your code changes, your site will be automatically recompiled and redeployed to localhost.
docker build . -t nhk
heroku container:push web
heroku container:release web