Foodnet Web Application | Build Status

[Online WebApp] (http://foodnetunizar.herokuapp.com/)

Lessons learned & F.A.Q.

  1. Squashing multiple commits into one to avoid polluting the branch:

  2. Identify the number of commits to squash using git log.

  3. Afterwards do a git rebase -i HEAD~N where N is the number of commits to squash.

  4. Finally do a git push -f

  5. Solve error with MongoDB in MacOS:

  6. If you have the issue: Unable to create/open lock file: /data/db/mongod.lock errno:13

  7. Create the folder to store data: sudo mkdir -p /data/db

  8. Configure the folder in MongoDB: mongod --dbpath /data/db

  9. Give permissons to access: sudo chown -R ``id -u`` /data/db

Info and important resources

  1. Installing mongodb: Ubuntu, OS X, Windows
  2. Accesing data with mongodb: Link
  3. Project example running with Thymeleaf: Link

Contributing to this project

  1. Fork the project
  2. Clone the project
  3. Configure the upstream: git remote add upstream https://github.com/UNIZAR-30248-2016-FOODNET/FoodnetWebapp.git
  4. To stay updated with the latest main updates, in IntelliJ go to VCS->Git->Fetch to update the branch. Afterwards you will need to merge the updated upstream with your current local branch, to do so: VCS->Git->Merge changes
  5. After you have changes made and pushed to your local fork, to request a contribution just open a pull request