website

Website

Samoa Code Hub Website built with Svelte-Kit by local developers

Samoa Code Hub Website

The website for the Samoa Code Hub community, built with SvelteKit

Languages & Tools

  • SvelteKit
  • Svelte
  • Tailwind CSS

Getting Started

Prerequisites

  • Node v18.18.1 (LTS)

Clone the Repo

git clone https://github.com/SamoaCodeHub/website.git
cd website

Installing dependencies

npm install

Running the project

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Running Tests

# Make sure you install playwright browsers
npx playwright install

# Run e2e test
npm run test:e2e

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

Analytics

To enable analytics set up Google Analytics set the GA_MEASUREMENT_ID env variable.

Contributing

Check out our Contributions Guideline

Environments

Local

http://localhost:5173

Platform: Local Machine

Description: used for local development, creating new features and bug fixes.

Staging

https://dev.samoacodehub.org

Platform: Netlify

Description: reflects the latest changes on the main branch. This ensures there is a working website with the most recent updates.

Production

https://www.samoacodehub.org

Platform: Vercel

Description: the live Samoa Code Hub website. The website is deployed on production once a release tag is created.

Top categories

Loading Svelte Themes