We are using stack to build the project and manage its dependencies. You'll need stack to work on this project.
We are using a Sqlite database. You'll have to have sqlite3 installed in order to run the project.
We are using a web framework for Haskell called Yesod. You can follow the instructions here to get started with Yesod.
After cloning the repo, you'll need to install all the dependencies.
- First, run
stack build yesod-bin cabal-install --install-ghc
to install the yesod dev tools. - Next, run
stack build
to build all the libraries.
We store configurations for our environment variables in a .env file. You'll need your .env file to contain the following fields:
- GOOGLE_USERNAME="email goes here (for sending registration confirmations)"
- GOOGLE_PASSWORD="password goes here"
Yesod makes it really easy to run the project locally. All you'll need to do is run
stack exec yesod devel
, and then visit http://localhost:3000/.