$ git clone https://github.com/Antons-Skafferi-MIUN/App.git
$ cd App
$ ./install_script.sh
Run the git-hook install script after cloning: $./install_script.sh
. This will install a pre-push hook that will restrict push access and give hints on how to follow policy.
I recommend we use the Feature Branch Workflow. Each new feature a person is working on should be made in a new branch. These branches should ideally never be more than a few days old as the features should be small and quick to implement. The person working on the feature will make a pull-request to merge the finished feature into the master branch once it's completed. This way the master branch will only ever contain working code.
- Select a user story from Trello, or create one if needed!
- It's important to change to the master branch before creating new branches
$ git checkout master
- Remember to update your local master branch before creating new branches
$ git pull
- Create your new branch
$ git branch user_story_name
- Change to your new branch
$ git checkout user_story_name
- Commit your local changes often
$ git commit -am "descriptive message"
- Push your changes to Github
$ git push origin HEAD
- Create a pull-request into master only when your user story is implemented and tested.
The pull-request will start a new thread where you can discuss your implementation, request code review and merge your branch into master. You can delete your branch after it has been merged into master.
You can use $ git fetch
to fetch a list of other people's branches.
It's crucial we all use the same environment
- Android Studio
- Android 5.0 (API level 24), required for native vector graphics
- Open AVD manager in android studio.
- Click "Create Virtual Device".
- Click "New Hardware Profile".
- Set screen size to 8.86 inches, RAM to 1024 unclick all camera support and sensors. Then click finish.
- Select your newly created hardware profile, it should appear under the "Tablet" category
- Install it and use it!