0.) SSH Into CS Machine through the VSCode SSH Extension
1.) Setting Development and Productin Enviroment Variables
Only run this command within your development enviorment
EXPORT PORT = 80
2.) Install Required Tech Stack
Insure that you have node installed
3.) Install Dependencies
cd client
mpm config set legacy-peer-deps true
npm install
cd ../server
npm config set legacy-peer-deps true
npm install
4.) Start the development client and server separately
cd client
npm run start
cd server
npm run start
5.) Starting Locations
- For the cliet the application begins in client/src/components/App.tsx
- For the server the application begins in server/RESTserver.ts
0.) Access VM Managment Site
1.) Access VM Named Covid-19TweetAnnotation
2.) Input Credentials for VM
Username: user
Password: password
3.) Deploying the site
Open a terminal within the VM and run the following commands inside the git repository
git pull
cd client
npm run build
cd ../server
npm run start