/food-poisoning

Balance of calories every day, written in Elixir and Elm

Primary LanguageCSSMIT LicenseMIT

Food Poisoning Build Status

Setup

cd into the food_poisoning folder and run:

  • mix deps.get

  • npm install

  • mix ecto.create: to create the database

  • mix ecto.migrate: to create tables

  • mix run priv/repo/seeds.exs: to seed the data

  • mix phoenix.server to start the app.

Troubleshooting

If issues with the database: Don't know the password, change it! http://dba.stackexchange.com/questions/44586/forgotten-postgresql-windows-password

Try setting psql into your system path variable.

If issues with Babel: npm install --save-dev babel-preset-es2015

If issues with any node module try: npm cache clean and then npm install again.