Skip to content

README

Overview

This guide outlines the steps necessary to get the application up and running locally for development.

System Requirements

  • Svelte 3.54
  • Sveltekit 1.5
  • vite 4.0.0
  • Node (managed via nvm)

Development Setup

1. Clone the Repository.

git clone <repository-url>
cd <repository-name>

2. Use an env file.

  • Here is a sample env, to be created inside the project directory.
APP_MODE=admin
VITE_APPLICATION_ENVIRONMENT=development
VITE_APPLICATION_BASE_URL=http://127.0.0.1:3000/
VITE_APPLICATION_APP_ID=SAMPLE
VITE_APPLICATION_APP_SECRET=SAMPLE
VITE_ASSETS_PREFIX=SAMPLE
VITE_SITE_URL=https://saut-frontend.pages.dev
VITE_OFFLINE_CHECK_URL=http://localhost:3000/health
CMS_KEY=SAMPLE
VITE_APP_LANG='en'

Run the Code

  • Install all the other dependencies used in the project

    npm install
    

  • Run the code on the local server

    npm run dev