To deploy build folder we use serverless framework which deploys all content to aws
This project was bootstrapped with Create React App.
In the project directory, you can run:
You can use NPM instead of YARN (Up to you)
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
sh ec2-web-server-set-up-2.sh keypath user host
aws ec2 stop-instances --instance-ids i-056db2709b24e7631 aws ec2 start-instances --instance-ids i-056db2709b24e7631