Skip to content

0. Getting Started

Turito Yuenan edited this page Dec 22, 2025 · 1 revision

This document specify the process to getting started with running the system for development or production purpose.

To communicate about the process, refer to each step by its section and ordinal numbers (e.g. Step 1.5, Step 3.3).

1. Prerequisites

  1. Install Git for version control.
  2. Install Deno for working with the frontend and edge functions.
  3. Install Supabase CLI to interact with Supabase, generate types and keys.
  4. Install Visual Studio Code (or preferred tool) for to edit the source code.
  5. Install VSCode extensions: Deno, EditorConfig, GitHub Actions.
  6. Clone TuritoYuenan/tradao-emp.

2. Configuration

  1. Log in to Supabase via the CLI command supabase login.
  2. Have access to a Supabase instance. Get the URL and Publishable key.
  3. Have access to a Google Cloud service account. Get the account key.
  4. Have access to a Google Wallet issuer account. Get the issuer ID.
  5. In the app and supabase/functions directories, create a (dot ENV) .env file based on the respective .env.example templates.

3. Setup

  1. In the app directory, run npm run dev to run the frontend locally.
  2. To run in production, run npm run build to bundle the frontend, then npm run preview.

Clone this wiki locally