Tech Crunch Munch

Git Your Sh*t Out There

(aka an introduction to Continuous Integration / Continuous Deployment)

Topics Covered:

  1. Step 1 - Perform/Install Prerequisites [to be done before the session!]
    1. Create free Heroku account (http://heroku.com)
    2. Create free CodeShip account (http://codeship.io) using your Github ID
    3. Install NodeJS (http://nodejs.org)
    4. Clone the Github Repo: https://github.com/icfi-tech-crunch-munch/get_your_stuff_out_there.git
    5. Create a site similar to what you had done for the last session to run the site locally (optional but highly recommended)
  2. Step 2 - BRIEF Introduction to Karma and Chai
  3. Step 3 - Configure Local Environment
  4. Step 4 - Creation of a Unit Test using ngMock
  5. Step 5 - Configuring the CI/CD environment
  6. Step 6 - Deploying the code
  7. Step 7 - Discussion

Create an empty local website

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.

Clone this entire repo, and copy the files to the root of that application.

Open the root of the application in a code editor such as Sublime Text or Visual Studio.