Skip to content

Instantly share code, notes, and snippets.

@avosalmon
Last active August 29, 2015 14:14
Show Gist options
  • Save avosalmon/360f2a210ab94366601f to your computer and use it in GitHub Desktop.
Save avosalmon/360f2a210ab94366601f to your computer and use it in GitHub Desktop.
Todo list for adding a new app or module
  1. create a new github repository
  2. git init
  3. git checkout -b integration
  4. git add -A .
  5. git commit -m "initial commit"
  6. git remote add origin git@github.com:kurashicom/repo_name.git
  7. git push -u origin integration
  8. create a new hipchat room for github notifiation
  9. create a new room for hipchat
  10. add web hook in the github
  11. global_variables
  12. local repository path (all)
  13. vm application path (all)
  14. local application url (only for apps)
  15. local gulp server ports (only for angular apps/modules)
  16. APPS (all)
  17. REPOS (all)
  18. global_functions
  19. get_repo_root (all)
  20. get_vm_repo_root (all)
  21. get_vm_host_name (all)
  22. get_local_gulp_server_port (only for angular apps/modules)
  23. app_helper_functions
  24. open_app (only for apps)
  25. develop_app (all)
  26. git clone in the local repository directory
@oliverlundquist
Copy link

Excellent! 👍

As for the GitHub new repository, it's important to mind that integration is the main branch.
Then create a new branch on GitHub (master for modules and development for apps.)
git init
git checkout -b integration
git add -A .
git commit -m "initial commit"
git remote add origin git@github.com:kurashicom/<repo>.git
git push -u origin integration

And when creating a new branch this is a nice shortcut.
Make sure that all changes are committed before switching branch.
git checkout -b xx/KP-XXX
git push -u origin xx/KP-XXX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment