Skip to content
This repository has been archived by the owner on Nov 8, 2021. It is now read-only.

ph1p/figma-chat-server

Repository files navigation

figma-chat-server

The websocket server for https://github.com/ph1p/figma-chat

How to start your own server?

Clone the repository:

git clone https://github.com/ph1p/figma-chat-server.git

and nstall all the dependencies.

npm install

run the server:

npm start

If you want to set another port, you can set the PORT environment variable.

Traefik

The simplest way to start your server, is to run it with traefik. You can find a docker-compose.yml inside this repository. The only thing you have to change is the URL and run:

docker-compose up -d

or if you want to rebuild it:

docker-compose build

Development

npm run dev # starts a server on port 3000

Set the server URL to http://127.0.0.1:3000/ inside your plugin.