(aka an introduction to Continuous Integration / Continuous Deployment)
Topics Covered:
- Step 1 - Perform/Install Prerequisites [to be done before the session!]
- Create free Heroku account (http://heroku.com)
- Create free CodeShip account (http://codeship.io) using your Github ID
- Install NodeJS (http://nodejs.org)
- Clone the Github Repo: https://github.com/icfi-tech-crunch-munch/get_your_stuff_out_there.git
- Create a site similar to what you had done for the last session to run the site locally (optional but highly recommended).Do not expect the site to load. We'll cover this during the session.
- Step 2 - BRIEF Introduction to Karma and Chai
- Step 3 - Configure Local Environment
- Step 4 - Creation of a Unit Test using ngMock
- Step 5 - Configuring the CI/CD environment
- Step 6 - Deploying the code
- Step 7 - Discussion
You can create and IIS/Apache/Node...etc application root, or just reuse one that you already have. The code needs to be run within a context of an application so the JavaScript permissions behave.
For this particular session, we'll be working with your command prompt more so than your IDE.
Open the root of the application in a code editor such as Sublime Text or Visual Studio.