Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 733 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 733 Bytes

Requirements

  • npm, pnpm, or yarn (pnpm is recommended)

Installation

First, create a .env file with three lines:

  • a SERVER_HOST variable that points to a running server instance, such as SERVER_HOST=http://127.0.0.1:8000
  • an UPSTASH_REDIS_REST_URL that points to an https://upstash.io redis instance
  • an UPSTASH_REDIS_REST_TOKEN that cointains an upstash token

Then run npm install or pnpm install

Running

npm run dev

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.