Skip to content

Justkant/WhatAShop

Repository files navigation

WhatAShop

Build Status Dependency Status devDependency Status License

Install docker toolbox

You can find a setup here.

After the installation, open the docker Quickstart Terminal.

Start the Production

With npm installed

  • npm run compose

With docker alone

  • docker-compose build && docker-compose up

To get the API documentation

  • Clone the repository
  • npm install
  • npm run doc
  • Open doc/index.html

Steps to start development

Start the db

With Docker installed

  • The first time you create the db, use npm run create-data to persist the data of the db
  • npm run start-db & using a docker Quickstart Terminal

With RethinkDB locally

  • In a standard terminal start rethinkdb

Start the development

  • npm run dev

Stop the db with Docker

  • npm run stop-db

Preferred IDE:

  • Atom
  • WebStorm 11
  • SublimeText