From 7b513296c114b7cf216861b038b118722c3815ba Mon Sep 17 00:00:00 2001 From: Mateja Date: Fri, 30 Jul 2021 15:44:58 +0200 Subject: Added `How to run this project` to README. --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index cd6e5e3..6e69d1c 100644 --- a/README.md +++ b/README.md @@ -12,3 +12,12 @@ Implementation informations: - Full login and registration system. - Full cart system. - User can see their previous orders on front end. + +## How to run this project: + +- Copy `client/.env` to `client/.env.local`. +- Copy `server/.env.example` to `server/.env`. +- Client's environment variable `VUE_APP_ROOT_API` should match server's `SITE_URL`. +- On server environment variables `SITE_URL` and `PORT` should be compatible. +- Navigate to `client` and run `npm run serve`. +- Navigate to `server` and run `npm run start`. -- cgit v1.2.3