Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

longislandjavascript/www.lijs.org-svelte

Repository files navigation

DEPRECATED- www.lijs.org

Built with Svelte.

The site is deployed to the custom domain www.lijs.org via a Netlify continuous deployment GitHub integration. Deployments are triggered automatically by pushing to the master branch.

All API data (Meetup, PageSpeed Insights) is fetched via Netlify Lambda functions. Most API URLs are saved as a Netlify environment variable, which is passed down to the client during development via Netlify Dev.

The contact form is managed by Netlify Forms.

Usage

You will need to have node and npm installed on your computer.

git clone git@github.com:lijs-meetup/lijs.org-svelte.git
cd lijs.org-svelte
npm install

To start the development server:

npm run develop

Open your browser and visit http://localhost:5000

To start the Netlify Dev development server:

npm run dev

The Netlify CLI will assign a port and provide the link in the terminal once compiled.

When using Netlify Dev, the Netlify environment will be locally available, allowing access to lambda functions and environment variables.

Available Scripts

Script Description
develop Compiles the source code and starts the development server in watch mode..
dev Compiles the source code and starts the Netlify Dev server.
autobuild Compiles the source code in watch mode.
start Serves the compiled production code.
start:dev Serves the compiled code in dev mode.