Skip to content

Ramdan241004/Static-Website-Cloudfront

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to generate the static webpage

Make sure you have yarn or npm.

Create .env.local file with the following variables:

NEXT_PUBLIC_API_BASE_URL=YOUR_MODUL1_URL
NEXT_PUBLIC_API_KEY=YOUR_MODUL1_API_KEY

For Install Dependencies :

$ npm install
# or
$ yarn install

To run the application Production :

$ npm run build
# or
$ yarn build

To Generate Static Web :

$ npm run export
# or
$ yarn export

Check the out/ directory.

To run the application locally

$ npm run dev
# or
$ yarn dev

Open http://localhost:3000 with your browser to see the application.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors