Skip to content

Commit

Permalink
made binary installation clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed Apr 18, 2018
1 parent 49be71d commit d52b278
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,22 @@

## Installing from Binaries

Visit the [Releases page](https://github.com/tinode/chat/releases/), choose the latest or otherwise the most suitable release. From the list of binaries download the one for your database and platform. Once the binary is downloaded, unpack it to a directory of your choosing, `cd` to that directory.
1. Visit the [Releases page](https://github.com/tinode/chat/releases/), choose the latest or otherwise the most suitable release. From the list of binaries download the one for your database and platform. Once the binary is downloaded, unpack it to a directory of your choosing, `cd` to that directory.

Make sure your database is running. Make sure it's configured to accept connections from `localhost`. In case of MySQL Tinode will try to connect as `root` without the password.
2. Make sure your database is running. Make sure it's configured to accept connections from `localhost`. In case of MySQL, Tinode will try to connect as `root` without the password.

First run the database initializer `init-db`:
```
./init-db -data=data.json
```
3. Run the database initializer `init-db` (or `init-db.exe` on Windows):
```
./init-db -data=data.json
```

4. Run the `tinode` (or `tinode.exe` on Windows) server. It will work without any parameters.
```
./tinode
```

5. Test your installation by pointing your browser to http://localhost:6060/x/

Then run the `tinode` server. It will work without any parameters.
```
./tinode
```

## Docker

Expand Down

0 comments on commit d52b278

Please sign in to comment.