Skip to content

cyrusinnovation/CodeTestBotApp

Repository files navigation

Build Status Code Climate Stories in Ready

Code Test Bot

This README outlines the details of collaborating on this Ember application.

CodeTestBot helps Cyrus employees easily accept, track, review and process inbound code tests from developer applicants.

Prerequisites

You will need the following things properly installed on your computer.

  • Git
  • Node.js (with NPM) and Bower
    • Note: v0.12.x of node.js is required. v4.x will not work.

Installation

  • git clone <repository-url> this repository
  • change into the new directory
  • npm install (this will automatically do ./node_modules/.bin/bower install)
  • NOTE: if asked which version of Ember to install, choose option #2 (ember#1.8.0-beta.1)

Running / CodeTestBotApp

Development requires that the CodeTestBotServer application be running, otherwise errors will be generated. Start by following the setup instructions in the server README file and run that application before running this one.

Code Generators

Make use of the many generators for code, try ./node_modules/.bin/ember help generate for more details.

Running Tests

  • ./node_modules/.bin/ember test
  • ./node_modules/.bin/ember test --server

Building

  • ./node_modules/.bin/ember build (development)
  • ./node_modules/.bin/ember build --environment production (production)

Deploying

We're using the Heroku Buildpack for Ember CLI Applications so simply use git push heroku master.

This buildpack caches npm & bower packages. So if you want to purge the cache and rebuild you can do the following commands:

  • heroku plugins:install https://github.com/heroku/heroku-repo.git (already done - only needs to be done once)
  • heroku repo:purge_cache -a codetestbot

Further Reading / Useful Links