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

Latest commit

 

History

History
35 lines (21 loc) · 782 Bytes

README.md

File metadata and controls

35 lines (21 loc) · 782 Bytes

@p2p.chat/www

@p2p.chat/www is a nextjs website written in Typescript.

Requirements

Install dependencies:

npm i

Development

Run the development web app:

npm run dev

Open http://localhost:3000 with your browser to see the result.

Deployment

@p2p.chat/www can be deployed as a simple static website given it has no server component. It can be easily deployed for free on static site hosting providers such as https://www.render.com or https://www.netlify.com.

Set the NEXT_PUBLIC_SIGNALLING_URL environment variable to the URL of your signalling server.

Build and export the application as a static site:

npm run build

Then simply serve the site from the built out/ directory.