diff options
author | Mateja <mail@matejamaric.com> | 2021-07-30 15:44:58 +0200 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2021-07-30 15:44:58 +0200 |
commit | 7b513296c114b7cf216861b038b118722c3815ba (patch) | |
tree | ab7c759ee792f92ff10d3c96f07c4abd5777012b | |
parent | c7858e66a63e838dda8514ac7bc983b18a412ebc (diff) | |
download | mevn-ecommerce-7b513296c114b7cf216861b038b118722c3815ba.tar.gz mevn-ecommerce-7b513296c114b7cf216861b038b118722c3815ba.zip |
Added `How to run this project` to README.
-rw-r--r-- | README.md | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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`. |