-
Notifications
You must be signed in to change notification settings - Fork 2
Deploying HopStack
The Git workflow is the defacto method in which to code, test, build, and deploy the hopstack application(s). By using advanced techniques, such as Grunt, Yeoman, and Bower, we have simplified and automated the workflow using standard Git workflow (pull, add, commit, push).
As of July 15 2014, the below git instructions for cloud workflow should be done in the Codio IDE's Terminal, and it reflects a mirror of the process on your local sandbox. However, several commands in the Run and Tools->Git menus in the cloud IDE offer point and click executions of these commands, without having to leave the IDE and go to Terminal. Please note that the configuration of these commands in the cloud IDE menu system are experimental at this time, and may not always be as reliable as Terminal.
$ git pull origin master- Build, create, test, and code things
-
$ grunt testyou wrote tests (because you are a craftsman), and this runs them before building -
$ grunt serverto launch the built-in node web server, running angular app via LIVERELOAD on port 3000 - Verify the app launched - Done, without errors. Browser window will automatically open to localhost:3000
- In your terminal, type
crtl+Cto kill theRunning "watch" taskseen on the screen - Fix, add, or remove some more code to make it awesome (assumes no errors prevented the build)
-
$ grunt serverto see how awesome it is now at [localhost:3000]http://localhost:3000) $ git add -all$ git commit -m "your commit notes"$ git push origin master
$ git pull origin master- Build, create, test, and code things in the application directory
./client -
$ grunt testyou wrote tests (because you are a craftsman), and this runs them before building -
$ grunt serverto launch the built-in node web server, running angular app via LIVERELOAD on port 3000 - Verify the app launched - Done, without errors. Browser window will automatically open to localhost:3000
- In your terminal, type
crtl+Cto kill theRunning "watch" taskseen on the screen - Fix, add, or remove some more code to make it awesome (assumes no errors prevented the build)
-
$ grunt serverto see how awesome it is now at [localhost:3000]http://localhost:3000) $ git add -all$ git commit -m "your commit notes"$ git push origin master- OPTIONAL: For sysadmins and leads with access,
$ git push codio masterto deploy to Codio dev - OPTIONAL: For sysadmins and leads with access,
$ git push heroku masterto deploy to Heroku stage
The Ungit workflow is a new method in which to code, test, build, and deploy the hopstack application(s) using a ore visual approach. By using even more advanced techniques, such as Ungit, Grunt, Yeoman, and Bower, we have simplified and automated the workflow using standard Git workflow (pull, add, commit, push) using an open source toolset called Ungit. To learn more about Ungit, check out our setup instructions.
Coming Soon.
Coming Soon.