- Clone the project to your local system
cd
to the cloned directory- Download the Node Package Manager(NPM) dependencies by running
npm install
in your terminal window - Start the project by running
npm run serve
-- the address of the project will show on completion usuallylocalhost:8080
- Start your browser, enter the address found above
- And that's it, easy peasie
- You will need 'node.js' installed on your system
- If you run into trouble starting the project, it is usually fixed by running
npm rebuild node-sass
- The Windows operating system does not like our environment variables and messes up the local build.
To fix that, do the following:
- Open the 'package.json' at the root of the project
- Go to the 'scripts' name value pair
- Go to the 'serve' name value pair
- Delete
NODE_ENV=development
from that value - That value should now look like
"serve": "vue-cli-service serve --mode test_tier",
- Run
npm run serve
again, and the project should start On Windows - You might get this error when runningnpm run serve
'vue-cli-service' is not recognized as an internal or external command, operable program or batch file.
- To fix, run
npm install @vue/cli-service -g
to install the Vue CLI-Service globally.