Frontend website for www.analogstudios.net based on Greenwood. It is built and deployed using Github Actions to AWS using S3 and Cloudfront. (The backend uses and API Gateway and EC2)
You'll need the latest NodeJS LTS version installed to run and contribute to this project. Or run nvm use
if using nvm**.
You can confirm by running the following
$ node -v
v18.15.0
% npm -v
8.19.2
Then run npm ci
to install the project's dependencies.
After installing the above, you can run the following commands:
npm run lint
- Lint all files in the project (JS , CSS, naming)npm run start
- Starts Greenwood's local development servernpm run build
- Runs Greenwood to generate a production buildnpm run story:dev
- Runs Storybook in development modenpm run test:tdd
- Runs unit tests inwatch
mode using @web/test-runner
See
package.json#scripts
for a full list of available commands.