- first you need to configure your aws account, run the following cmd : 
aws configureand follow the instruction. - create a root folder named (cdk-nextjs-app) -> 
mkdir cdk-nextjs-appandcd cdk-nextjs-app - create next js app using 
npx create-next-app@latest portfolio-appand follow the instruction andcd portfolio-app - design your website and run the following cmd to make build folder 
npm run buildthat will export all your build files to 'out' folder - comeback to root folder 
cd ../cdk-nextjs-appand git clone https://github.com/1983shiv/nextjs-portfolio-on-s3.gitandcd nextjs-portfolio-on-s3npm run installto install all the depencies- now go to the lib\shiv-portfolio-cdk-stack.ts on line no : 25 and
 - change 
sources: [s3deploy.Source.asset(path.join(__dirname, '../../shiv-portfolio/out'))],tosources: [s3deploy.Source.asset(path.join(__dirname, '../../nextjs-portfolio-on-s3/out'))], npm run deployto deploy the app on your aws account.
- 
                Notifications
    
You must be signed in to change notification settings  - Fork 0
 
1983shiv/nextjs-portfolio-on-s3
Folders and files
| Name | Name | Last commit message  | Last commit date  | |
|---|---|---|---|---|
Repository files navigation
About
        No description, website, or topics provided.
      
    Resources
Stars
Watchers
Forks
Releases
No releases published
              Packages 0
        No packages published