All checks were successful
release / Publish to Cloudflare Pages (push) Successful in 1m8s
Reviewed-on: #4
27 lines
925 B
Markdown
27 lines
925 B
Markdown
# Michael Pivato
|
|
|
|
A dead simple website showcasing my career and interests!
|
|
|
|
Also includes a contact form, which sends an email with relevant details from whoever is trying to make contact, using CloudFlare Workers and Email Routing.
|
|
|
|
## Build
|
|
|
|
Ensure npm is installed.
|
|
|
|
Download dependencies:
|
|
|
|
`npm install`
|
|
|
|
Run `./build.sh` to build the site that is served by cloudflare pages
|
|
|
|
## Debugging
|
|
|
|
Easiest way to debug/visualise the content is to use the inbuilt IDE browser. VS Code/Codium can display a preview side-by-side by clicking the Open Preview to the Side button.
|
|
This will show changes live, exactly as the content will be rendered when run from another webserver.
|
|
|
|
To generate the css file during development, run the following:
|
|
|
|
`npx sass --watch site.scss. site.css`
|
|
|
|
Note: The contact form cannot be tested locally with wrangler as this is not supported by Email Routing, instead you'll need to use the --remote
|