In order to convert this template app for use, please search for all instances of
replaceappname
and replace with the short name chosen for the new app.
It is also used to mark page titles, links, etc which will need to be modified appropriately.
The main page should be moved from the ApplicationController to an appropriate new controller
The 'Send Email' action is used to demonstrate/test email handling in test environments You can remove or re-purpose the example_mailer
Generate new secrets for config/secrets.yml using rake secret
git clone git@git.dartmouth.edu:wag/the-project
cd the-project
git checkout master
git fetch
git pull
git flow init
- optionally, to redo gitflow,
git flow init -f
- set up with defaults except "feature" and "version" as follows:
- master
- develop
- feature-yourinitials/
- release/
- hotfix/
- support/
- v
- optionally, to redo gitflow,
- find a feature in pivotal tracker to work on
git flow feature start my-awesome-feature
- Do some work!
git add .
git commit -am "my awesome commit message"
- push your work to the server!
- if this is your first push, then
git flow feature publish my-awesome-feature
- if you've already published then
git push
- if this is your first push, then
** repeat steps 3-6 until your feature is done. **
- log into git.dartmouth.edu
- Navigate: groups > wag > the-project
- Left menu: Repository > branches
- find feature-yourinitials/my-awesome-feature
- select "merge request"
- write a message describing the change
- assign to scrum master
- submit merge request
- obtain feedback
- implement feedback, commit and push
- log into git.dartmouth.edu
- Navigate: groups > wag > the-project
- Left menu: merge requests
- select an active request
- Inspect for merge conflicts.
- use the in-browser diff tool or checkout the code locally and use your favorite editor. The website has instructions on how to accomplish this.
- Merge AND REMOVE MERGED BRANCH!
git checkout develop
git pull
git fetch --prune
to remove any references to the removed, merged feature on the server- if it was not your branch that was merged, then you may want to rebase your feature:
git checkout feature-yourinitials/my-feature-that-wasn't-merged
git rebase develop
git pull
- manage merge conflicts if there are any
git push
- if it was your branch that was merged, then you can safely remove your old local copy:
git branch -d feature-yourinitials/my-awesome-feature