Setup steps:
-
Setup the database, by running
rake db:create db:migrate
-
Run the seeds to add recipes, ingredients and tags
rake db:seed
-
Run the following rake task to add identifiers to ingredients (the most used ingredient will have the lowest identifier value)
rake compute_ingredients_identifiers
-
Run the following rake task to add the ingredients identifier to the recipes - this identifier represents the OR operation of each ingredient identifier the recipe contains
rake compute_recipe_ingredients_identifier
To start the app, just run rails s
If you want to do live changes in the UI, also run ./bin/webpack-dev-server
You can also access the app the the following link: Heroku App