Atom and all repositories under Atom will be archived on December 15, 2022. Learn more in our official announcement
The server-side application that facilitates peer discovery for collaborative editing sessions in Teletype.
To run teletype-server locally, you'll first need to have:
- Node 7+
- PostgreSQL 9.x
- An app on pusher.com
- An OAuth app on github.com
-
Clone and bootstrap
git clone https://github.com/atom/teletype-server.git cd teletype-server cp .env.example .env createdb teletype-server-dev createdb teletype-server-test npm install npm run migrate up
-
Copy the
app_id
,key
, andsecret
for your app on pusher.com, and set those values in your.env
file -
Copy the client ID and client secret for your OAuth app on github.com, and set those values in your
.env
file -
Start the server
./script/server
-
Run the tests
npm test
Atom core team members can use this guide to test pull requests and deploy changes to production.