-
Notifications
You must be signed in to change notification settings - Fork 1
Home
James Tyner edited this page Apr 11, 2019
·
13 revisions
Launch GitHub Desktop and Open terminal
cd vue
- to enter vue folder
Create a .env
file inside vue
folder
VUE_APP_BACK_URL='http://localhost:3000/api'
SENDGRID_API_KEY='ASK JAMES'
npm install
- install npm packages
npm run serve
- run the front-end server
To end press Control + C
To run the server next time, enter vue
folder and npm run server
cd ..
- Go back to the previous folder
cd node
- to enter vue folder
Create a .env
file inside node
folder
MONGO_URL='ASK_MARS'
clientID='ASK_MARS'
clientSecret='ASK_MARS'
FRONT_URL='http://localhost:8080'
npm install
- install npm packages
npm run debug
- run the front-end server
To end press Control + C
To run the server next time, enter node
folder and npm run debug