Skip to content

3-strand-code/3-strand-code-website

Repository files navigation

This is the landing page for 3 Strand Code.

Install and run

Clone

  1. git clone [email protected]:3-strand-code/3-strand-code-website.git
  2. cd 3-strand-code-website

Setup Environment Keys

  1. Request access to the Heroku app.
  2. List keys with heroku config --app three-strand-code
  3. Set staging/test keys only:
  • export TSC_KINVEY_STAGING_APP_KEY="appkey";
  • export TSC_KINVEY_STAGING_APP_SECRET="appsecret";
  • export TSC_KINVEY_STAGING_MASTER_SECRET="mastersecret";
  • export TSC_STRIPE_TEST_PUBLISHABLE_KEY="key";
  • export TSC_STRIPE_TEST_SECRET_KEY="key";

Start Server/Build

  1. npm start - Install dependencies and start dev server.
  2. gulp - Start build and watchers.
  3. https://localhost:8000 open in browser, Note https:.

Development

  1. Create a feature/* branch.
  2. Start the server: node web.js
  3. Start gulp: gulp
  4. Hack commit/push
  5. When done:
    1. Open a PR
    2. Deliver the Pivotal story

Deploy

  1. Request access to the Heroku app.
  2. Add your ssh keys to Heroku.
  3. Install the Heroku toolbelt.
  4. Add the 3 Strand Code app as a git remote.
  5. git push heroku master