Skip to content

echo-lab/CA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deployment:
Clone the repository.
Navigate to react-text-to-speech directory.
Install npm-run-all in both main and server directories: npm install npm-run-all --save-dev
Inside the server directory:
Create key folder.
Add key.json inside with your API key.
Install serve package: npm install [email protected]
Ensure Node.js version >= 14.
Build with: npm run build
Start backend: node ./server/server.js
Start frontend: sudo ./node_modules/.bin/serve -s build --ssl-cert ../../cert/talemate.cs.vt.edu.crt --ssl-key ../../cert/key3.pem -l 443

If you want to deploy this on a server you need to make the following changes in the files:

Server
- Remove the comments from the last few lines, this is to activate the https server
- Change all the localhost words to talemate.cs.vt.edu

Story
- Change all the localhost words to talemate.cs.vt.edu

RoleDraggable
- Change all the localhost words to talemate.cs.vt.edu

package.json (not in server)
- Change the 'start' to this: cross-env HTTPS=true react-scripts start --openssl-legacy-provider

Local:
Start frontend: npm start
Start server: node ./server/server.js
Run both: npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •