From 7bba0ac40496cdfbbfc1655656d71b39f4ec5060 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Krzy=C5=BCanowski?= Date: Tue, 28 Feb 2023 20:11:59 +0100 Subject: [PATCH] Updated README instructions --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 17aa6b8..f31598d 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,9 @@ To start this application you need to: - Setup some database and user with permissions to it - Create .env file in the main directory and fill it in with fields DB_USER, DB_PASS, DB_HOST, DB_PORT and DB_NAME. In case of confusion you may check exemplary .env file saved as .env.example in the root directory of this repository. 2. Run both SQL scripts, which are located in the main directory. For app to be usable it is also recommended to insert some data to the database. -3. Run `npm build` in the client directory. -4. Run `npm start` in the main directory -5. App will run on localhost:5000 +3. Run `npm install` in the main directory. +4. Run `npm install` in the client directory. +5. Run `npm build` in the client directory. +6. Run `npm start` in the main directory +7. App will run on localhost:5000 Note: pm2 or/and nginx may be used to run this app for production