kasonjim / interviewer.dc

Interviewing platform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Interviewer.dc

Consolidate the tools you need to implement agile scrum on existing GitHub repositories..

Installation

Fork and clone the respository to your local machine. Use npm install to install the required dependencies.

Before you can run the app you will have to setup the database. Login to your preferred database between PostgreSQL and MySQL and create a database called interviewer_dc. If this is a fresh install use npm run db:setup to create and seed tables.

If you need more database assistance please view the Database section.

Usage

To start the app you can use:

npm run build
npm start

or npm run quick which builds then runs.

Database

Interviewer.DC supports a list of actions to be preformed on the database from the command prompt:

npm run db:create will create the tables in the database if they have not been created yet.
npm run db:seed will seed the tables if they have not been seeded yet.
npm run db:unseed will remove the seed data if the tables have been seeded.
npm run db:reseed will run db:unseed and then db:seed.
npm run db:setup run db:create -> db:unseed -> db:seed
npm run db:drop will drop the tables from the database if they exist.

SASS Stylesheets

Interviewer.DC stylesheets are written in SASS/SCSS. To compile, run the following command from the command prompt:

npm run sass:compile will compile the input.scss file into an output.css file in the same directory as the input.scss file.
Note: npm run quick will run npm run sass:compile as well.

Testing

To test the app, run the following (requires PhantomJS and CasperJS, which I recommend installing via Homebrew - they must be installed globally):

npm test
OR
npm run test-unit (does not require PhantomJS/CasperJS; only runs mocha tests)

Note: the tests use the Mochawesome reporter, which saves a report in json and html format and provides the link in the terminal after the tests run. The html report is beautiful, just copy and paste that path into a browser to view. Or navigate to the report in the mocha_reports folder of the root directory of the app.

Team

About

Interviewing platform

License:MIT License


Languages

Language:JavaScript 92.4%Language:CSS 6.8%Language:HTML 0.9%