. configure.sh
npm start
Runs the app in the development mode.
Open http://127.0.0.1:8080 to view it in your browser.
The page will reload when you make changes. You may also see any lint errors in the console.
Run the application:
npm start
In Visual Studio Code, set a breakpoint in src/js/main.js
. Press F5
to start the debugger. Refresh the browser.
npm run build
Builds the app for production to the dist
folder.
To preview the built site
npx http-server --port 5000 dist
export AWS_DEFAULT_PROFILE=aria
# dry run
aws s3 cp ./dist/index.html s3://aria-share/index.html --dryrun
aws s3 sync ./dist/index-style s3://aria-share/index-style --delete --dryrun
# real deployment
aws s3 cp ./dist/index.html s3://aria-share/index.html
aws s3 sync ./dist/index-style s3://aria-share/index-style --delete
Verify:
open https://aria-share.jpl.nasa.gov
See: https://getbootstrap.com/docs/5.2/getting-started/webpack/