[Online WebApp] (http://foodnetunizar.herokuapp.com/)
-
Squashing multiple commits into one to avoid polluting the branch:
-
Identify the number of commits to squash using
git log
. -
Afterwards do a
git rebase -i HEAD~N
where N is the number of commits to squash. -
Finally do a
git push -f
-
Solve error with MongoDB in MacOS:
-
If you have the issue:
Unable to create/open lock file: /data/db/mongod.lock errno:13
-
Create the folder to store data:
sudo mkdir -p /data/db
-
Configure the folder in MongoDB:
mongod --dbpath /data/db
-
Give permissons to access:
sudo chown -R ``id -u`` /data/db
- Installing mongodb: Ubuntu, OS X, Windows
- Accesing data with mongodb: Link
- Project example running with Thymeleaf: Link
- Fork the project
- Clone the project
- Configure the upstream:
git remote add upstream https://github.com/UNIZAR-30248-2016-FOODNET/FoodnetWebapp.git
- 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
- After you have changes made and pushed to your local fork, to request a contribution just open a pull request