Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 2.27 KB

CONTRIBUTING.md

File metadata and controls

48 lines (33 loc) · 2.27 KB

Contributing

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Interested in contributing to the other.js library itself? Read on.

Or see how to embed other.js or create a feature.

Initial setup

These instructions assume you're running macOS and using the Homebrew package manager. They should be trivially adaptable to Linux or other package managers.

  1. Install the Node Package Manager via brew install node.
  2. Clone this repo and install its dependencies by running npm install in its root directory.
  3. Install the EditorConfig plugin for your editor of choice.
  4. RECOMMENDED: Install Atom or Sublime Text for the most seamless editor integration with our stack.

Local development

  1. Start the development server.

    npm start
  2. Start an Other Chat client using https://localhost:8888 as its otherjs host. Web client instructions

Testing

Run all tests once via:

npm test

Automatically re-run tests upon each save via:

npm run test:watch

Deployment

Upon each commit, assuming the tests pass, Jenkins automatically deploys to https://apps.other.chat via:

npm run dist
npm run deploy