From 0f189a7498c0c367cc51b6def26a132cd5ee2209 Mon Sep 17 00:00:00 2001 From: maxlath Date: Sat, 29 Apr 2023 14:01:38 +0200 Subject: [PATCH] readme tips: change recommended way to start only couchdb and elasticsearch --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d78282d..f71da7b 100644 --- a/README.md +++ b/README.md @@ -170,18 +170,19 @@ module.exports = { ### Run inventaire server and client outside of Docker It can sometimes be more convenient to keep CouchDB and Elasticsearch in Docker, but to run the Inventaire server and client outside. For this you will need to: -- comment-out the `inventaire` block in `docker-compose.yml` - have [NodeJS](https://nodejs.org/) >= v16 installed on your machine, which should make both `node` and `npm` executables accessible in your terminal Then you can start CouchDB and Elasticsearch in the background ```sh -docker-compose up -d +docker-compose up couchdb elasticsearch -d ``` + Start the Inventaire server in development mode ```sh cd inventaire npm run watch ``` + And in another terminal, start the client Webpack dev server ```sh cd inventaire/client