UNPKG

2.75 kBMarkdownView Raw
1# The Lounge
2
3[![#thelounge IRC channel on freenode](https://img.shields.io/badge/freenode-%23thelounge-BA68C8.svg)](https://avatar.playat.ch:1000/)
4[![npm version](https://img.shields.io/npm/v/thelounge.svg)](https://www.npmjs.org/package/thelounge)
5[![Travis CI Build Status](https://img.shields.io/travis/thelounge/lounge/master.svg?label=linux+build)](https://travis-ci.org/thelounge/lounge)
6[![AppVeyor Build Status](https://img.shields.io/appveyor/ci/astorije/lounge/master.svg?label=windows+build)](https://ci.appveyor.com/project/astorije/lounge/branch/master)
7[![Dependencies Status](https://img.shields.io/david/thelounge/lounge.svg)](https://david-dm.org/thelounge/lounge)
8[![Developer Dependencies Status](https://img.shields.io/david/dev/thelounge/lounge.svg)](https://david-dm.org/thelounge/lounge?type=dev)
9
10The Lounge is a modern web IRC client designed for self-hosting.
11
12To learn more about configuration, usage and features of The Lounge, take a look at [the website](https://thelounge.github.io).
13
14<p align="center">
15 <img src="https://cloud.githubusercontent.com/assets/5481612/19623041/9bbaec40-9888-11e6-9961-8f3e0493ba30.png" width="550">
16</p>
17
18The Lounge is the official and community-managed fork of [Shout](https://github.com/erming/shout), by [Mattias Erming](https://github.com/erming).
19
20## Installation and usage
21
22The Lounge requires [Node.js](https://nodejs.org/) v4 or more recent.
23
24### Running stable releases from npm (recommended)
25
26Run this in a terminal to install (or upgrade) the latest stable release from
27[npm](https://www.npmjs.com/):
28
29```sh
30[sudo] npm install -g thelounge
31```
32
33When installation is complete, run:
34
35```sh
36lounge start
37```
38
39For more information, read the [documentation](https://thelounge.github.io/docs/), [wiki](https://github.com/thelounge/lounge/wiki), or run:
40
41```sh
42lounge --help
43```
44
45### Running from source
46
47The following commands install and run the development version of The Lounge:
48
49```sh
50git clone https://github.com/thelounge/lounge.git
51cd lounge
52npm install
53NODE_ENV=production npm run build
54npm start
55```
56
57When installed like this, npm doesn't create a `lounge` executable. Use `npm start -- <command>` to run subcommands.
58
59⚠️ While it is the most recent codebase, this is not production-ready! Run at
60your own risk. It is also not recommended to run this as root.
61
62## Development setup
63
64Simply follow the instructions to run The Lounge from source above, on your own
65fork.
66
67Before submitting any change, make sure to:
68
69- Read the [Contributing instructions](https://github.com/thelounge/lounge/blob/master/CONTRIBUTING.md#contributing)
70- Run `npm test` to execute linters and test suite
71- Run `npm run build` if you change or add anything in `client/js/libs` or `client/views`