/beerenthusiasts

Beer Enthusiasts: Homebrewing and beer lovers webapp written in Erlang and using Nitrogen, Couchdb and Mnesia.

Primary LanguageErlangGNU Affero General Public License v3.0AGPL-3.0

Beer Enthusiasts:

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
Configuration:
  • 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
Build
  • Run make
Databases:
  • 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
With inets:
  • ./start_inets.sh
With yaws: Use you browser to goto http://localhost:8000/web/