Skip to content

Latest commit

 

History

History
 
 

module-1

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Blog Application Setup and installations

Steps to build application code

  1. Make changes to the source code in src/.

  2. Create build folder

npm run build
  1. Replace the build folder in resources/s3/webfiles/

  2. Copy the index.html file from resources/s3/webfiles/build to resources/lambda/react and run the following commands on it.

sed -i 's,href="/,href="S3_BUCKET/,g' index.html
sed -i 's,src="/,src="S3_BUCKET/,g' index.html
  1. Run the terraform apply action.