Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

teletype-diy/teletype-diy-server

Repository files navigation

NOTICE: deprecated, please look at https://github.com/teletype-diy/signal-server instead

teletype-diy-server

The server-side application that facilitates peer discovery for collaborative editing sessions in teletype-diy.

Hacking

Dependencies

To run teletype-server locally, you'll first need to have:

  • Node 7+
  • PostgreSQL 9.x

Running locally

  1. Clone and bootstrap

    git clone https://github.com/schadomi7/teletype-diy-server.git
    cd teletype-server
    cp .env.example .env
    createdb teletype-server-dev
    createdb teletype-server-test
    npm install
    npm run migrate up
    
  2. Start the server

    ./script/server
    

Deploying

I plan to provide a docker container, feel free to send me a merge-request, if you are faster.