From 72aeed411ae00fa84d222a5aa64965d1801aebe6 Mon Sep 17 00:00:00 2001 From: counterweight Date: Fri, 21 Feb 2025 16:58:00 +0100 Subject: [PATCH] small refactor --- README.md | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5304cfb..757e378 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ laseca is a social bitcoin to cash exchange, implemented as a webapp. + `node` and `npm` * Installing + Run `npm install` - + You can now start the app in a container by running `npm run start:containers` (and shut it down with `npm run stop:containers`). + + You can now start the app in a container by running `npm run start:container` (and shut it down with `npm run stop:container`). * Running + The app will run in a single container, with a Postgres database, a caddy webserver and the nodejs app. + Note that the container doesn't come with a volume for Postgres: default behaviour is to start from scratch every time you create the container, delete everything every time you delete the container. diff --git a/package.json b/package.json index 3c1c48d..9f252f7 100644 --- a/package.json +++ b/package.json @@ -18,8 +18,8 @@ "main": "src/app.js", "scripts": { "start": "node src/app.js", - "start:containers": "docker compose up -d --build", - "stop:containers": "docker compose down", + "start:container": "docker compose up -d --build", + "stop:container": "docker compose down", "cli": "node src/cli.js", "test": "playwright test", "lint": "eslint . --fix",