Any static assets, like images, can be placed in the public/
directory.
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:3000 |
npm run build |
Build your production site to ./dist/ |
python3 ./fix-links.py |
Append .html to all links |
aws s3 sync dist s3://jounileino.com |
Deploys static website to AWS S3 |