aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2021-07-30 15:44:58 +0200
committerMateja <mail@matejamaric.com>2021-07-30 15:44:58 +0200
commit7b513296c114b7cf216861b038b118722c3815ba (patch)
treeab7c759ee792f92ff10d3c96f07c4abd5777012b
parentc7858e66a63e838dda8514ac7bc983b18a412ebc (diff)
downloadmevn-ecommerce-7b513296c114b7cf216861b038b118722c3815ba.tar.gz
mevn-ecommerce-7b513296c114b7cf216861b038b118722c3815ba.zip
Added `How to run this project` to README.
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
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`.