Beer Enthusiasts is a homebreweing and beer lovers webapp written in Erlang and using Nitrogen, Couchdb and Mnesia.
The site is intended to house a body of knowledge regarding:
- Beers
- Recipes
- Ingredients
- News
How to start:
Dependencies:- Erlang
- CouchDB
- Install Nitrogen and cp or link it to /opt/erlang-libs/nitrogen-master
- Edit config.profile (note: ERL_LIBS should be /opt/erlang-libs/)
- source config.profile
- Edit include/config.inc – or just leave it alone
Change COUCHDB_PORT and COUCHDB_SERVER as needed
- Run make
- run ./scripts/mnesia_init.sh which will create the DB in MNESIADB_DIR
- run ./scripts/couchdb_init.sh which will create the COUCHDB_RECIPES_DB_NAME db for storing the recipes
- ./start_inets.sh
- Download and compile yaws, http://yaws.hyber.org/download/
- Edit ebin/beerenthusiasts.app
Change {platform, inets}, to {platform, yaws}, - ./start_yaws.sh