Skip to content

Latest commit

 

History

History
34 lines (19 loc) · 802 Bytes

File metadata and controls

34 lines (19 loc) · 802 Bytes

Development Environment

A development environment containing docker containers for common services, e.g. PostgreSQL

Services

Service Port(s) Command Notes
Postgres 5432 npm run db Database

Development

Prerequisites

  • NodeJS, version 11+ (I use nvm to manage Node versions — brew install nvm.)
  • Docker (Use Docker for Mac, not the homebrew version)

Initialisation

npm install

To start Postgres

First ensure nothing else is using port 5432

npm run db

To stop them all

npm run stop:all

To kill them all and wipe all development data

npm run kill:all