cle.golf Svelte Themes

Cle.golf

S3 Static Website for Golf League built with Svelte

🏌 Golf League Svelte App 🏌

Deploy Status

Developing

Install the dependencies...

cd nola.golf
npm install

...then start Rollup:

npm run dev

Go to localhost:5000. You should see the app running.

Deploying

The deployment model uses Github actions and is defined in /.github/actions/deploy.yml

Note: In production, the site is served out of the /public directory, but in development it's at the root. So the only difference between dev and prod is which HTML file is served. In development, we use public/index.html but in prod we use index.html. This is dumb and only because of the way S3 static sites work. These two files should be identical other than adding "public/" to the prod paths. They should rarely need to be changed anyways.

Developing

Install the dependencies...

cd cle.golf
npm install

...then start Rollup:

npm run dev

Go to localhost:5000. You should see the app running.

Deploying

The deployment model here is Github Actions (/.github/workflows/deploy.yml).

Note: In production, the site is served out of the /public directory, but in development it's at the root. So the only difference between dev and prod is which HTML file is served. In development, we use public/index.html but in prod we use index.html. This is dumb and only because of the way S3 static sites work. These two files should be identical other than adding "public/" to the prod paths. They should rarely need to be changed anyways.

Top categories

Loading Svelte Themes