Make sure you have nodejs 18.0.0
or higher and npm 8.6.0
or higher installed. Install dependencies with:
npm install
Once it's done start up a local server with:
npm run dev
To view the components storybook:
npm run storybook
To create a production build:
npm run build
I've set up the site using AWS for hosting and serverless functions. You'll need an AWS account and the AWS CLI installed in order to deploy.
Deploy the site to s3:
npm run deploy
Deploy serverless functions:
cd functions
npm run deploy:api
I have modified this website from a template from Hamish with free full license.
How do I change the color on the DisplacementSphere
(blobby rotating thing in the background).
You'll need to edit the fragment shader. Check out this issue for more details.
How do I get the contact form to work?
It's set up using a serverless function with AWS Lambda. You'll need to set up an AWS account and deploy the function. Refer to this issue for more details.