Update readme instructions
This commit is contained in:
parent
284a35ab09
commit
4d8c52fa22
51
README.md
51
README.md
@ -1,39 +1,60 @@
|
||||
# name_pending
|
||||
Web-based IRC client in Go.
|
||||
|
||||
## Installing
|
||||
## Features
|
||||
* Searchable history
|
||||
* Persistent connections
|
||||
* Multiple users
|
||||
|
||||
## Usage
|
||||
There is a few different ways of getting it.
|
||||
|
||||
### 1. Binary
|
||||
There will be binary releases.
|
||||
|
||||
### 2. Go
|
||||
This requires a [Go environment](http://golang.org/doc/install).
|
||||
|
||||
```bash
|
||||
go get github.com/khlieng/name_pending
|
||||
```
|
||||
|
||||
## Running
|
||||
```bash
|
||||
name_pending
|
||||
```
|
||||
|
||||
## Building the server
|
||||
To get some help run:
|
||||
```bash
|
||||
name_pending help
|
||||
```
|
||||
|
||||
#### Requirements
|
||||
* [Go](http://golang.org/doc/install)
|
||||
### 3. Docker
|
||||
```bash
|
||||
docker run -p 8080:8080 khlieng/name_pending
|
||||
```
|
||||
|
||||
## Build
|
||||
|
||||
### Server
|
||||
```bash
|
||||
cd $GOPATH/src/github.com/khlieng/name_pending
|
||||
|
||||
go install
|
||||
```
|
||||
|
||||
## Building the client
|
||||
|
||||
#### Requirements
|
||||
* [Node.js + npm](https://nodejs.org/download/)
|
||||
### Client
|
||||
This requires [Node.js](https://nodejs.org/download/).
|
||||
|
||||
Fetch the dependencies:
|
||||
```bash
|
||||
npm install -g gulp
|
||||
go get github.com/jteeuwen/go-bindata/...
|
||||
cd $GOPATH/src/github.com/khlieng/name_pending/client
|
||||
npm install
|
||||
|
||||
gulp -p
|
||||
|
||||
# Rebuild the server :)
|
||||
```
|
||||
|
||||
Run the build:
|
||||
```bash
|
||||
gulp -p
|
||||
```
|
||||
|
||||
The server needs to be rebuilt after this. For development dropping the -p flag
|
||||
will turn off minification and embedding, requiring only one initial server rebuild.
|
Loading…
Reference in New Issue
Block a user