Skip to content

Installation

mporto edited this page Apr 2, 2017 · 1 revision

With Docker and Docker Compose

  1. Install Docker and Docker Compose
  2. Run $ docker-compose up --build
  3. Go to http://localhost:300/

Without Docker

Install depenencies

  1. Install postgres:
  • $ sudo apt-get update
  • $ sudo apt-get install postgresql postgresql-contrib
  1. Create database (replace dbname with used database):
  • $ psql -U postgres -h localhost
  • $ postgres=# CREATE DATABASE dbname;
  1. Install the node packages via:
  • $ npm install
  1. Create database table:
  • $ ./node_modules/.bin/sequelize db:migrate

Start

To start the application (server and client) run:

  • npm start

Test

For running the test suit run:

  • npm test
Clone this wiki locally