Skip to content

Latest commit

 

History

History
47 lines (29 loc) · 1.32 KB

README.md

File metadata and controls

47 lines (29 loc) · 1.32 KB

WestPeak Research Association Website

Static site built with Gatsby, React and JavaScript.

How to Run Locally

Requires node and npm on the development machine. Production environment currently runs Node v22.13.0, development is recommended on this specific version. Changing Node versions can be done with n (install using npm install -g n and then run n 22.13.0).

First install all dependencies

npm install

Then, run the development server.

npm run develop

Now you can access the site at localhost:8000.

Automation Scripts

New JA/SA members can be created using the automation scripts. Using rbenv with Ruby 3.3.0, you can run ruby member.rb and follow the instructions for quick creation of new members.

More scripts to come.

Deployment

The GitHub master branch is configured to automatically deploy to Netlify. Check Netlify for build logs or in case of failures.

Development

Recommended VSCode Extensions:

Use of Copilot is recommended.

TypeScript note: GraphQL Types are only generated when develop is run. If you seem to be missing GraphQL types, run npm run develop.