This repository is a v3 of the zzSSW.Website. This website uses NextJS with TinaCMS.
Watch the demo:
- Instructions - Deployment
- Business
- Technologies and Architecture
- Alternative Solutions Considered
- Definition of Done
- Definition of Ready
- SSW Website - Power Automate flows
- Git, Node.js Active LTS
- pnpm
corepack enable pnpm
- A TinaCMS account for live editing.
Install the project's dependencies:
pnpm install
Run the project locally:
pnpm dev
Build the project:
pnpm build
- Open Command Palette in VSCode
> Dev Containers: Reopen in Container
- Develop as you would normally
- Close VSCode connected with the Dev Container
- Open project folder on host machine
- Remove node_modules and reinstall dependencies
pnpm install
pnpm outdated
Test locally to make sure everything still works.
- http://localhost:3000 : browse the website
- http://localhost:3000/admin : connect to Tina Cloud and go in edit mode
- http://localhost:3000/exit-admin : log out of Tina Cloud
- http://localhost:4001/altair/ : GraphQL playground to test queries and browse the API documentation
-
1 Make sure you have
CREATE_LEAD_ENDPOINT
environment variable in your.env
- Follow steps to setup -
2 Run
npx playwright test --ui
in your terminal and make sure your local instance is running in the background.
Each Pull Request will be deployed to its own staging environment, the URL to the environment is available in the PR thread.
-
Email SSW to schedule a call.
-
Reach out through the chat widget on ssw.com.au
-
Visit the documentation to learn about TinaCMS.
-
Join the Tina Discord to share feedback for TinaCMS to improve.