From b0b9c94046aef8b84ca7b9350faa5f4e052c74bc Mon Sep 17 00:00:00 2001 From: aheiabai <718156994@qq.com> Date: Thu, 22 Aug 2024 20:49:30 +0800 Subject: [PATCH] Update INSTALL.md in Running a Standalone Server section, there is no 'init-db', 'tinode' in $GOPATH/bin but tinode-db, server. --- INSTALL.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 1499c94f..5d4445f4 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -127,11 +127,11 @@ MongoDB should run as single node replicaset. See https://docs.mongodb.com/manua 2. Run DB initializer ``` - $GOPATH/bin/init-db -config=./tinode-db/tinode.conf + $GOPATH/bin/tinode-db -config=./tinode-db/tinode.conf ``` add `-data=./tinode-db/data.json` flag if you want sample data to be loaded: ``` - $GOPATH/bin/init-db -config=./tinode-db/tinode.conf -data=./tinode-db/data.json + $GOPATH/bin/tinode-db -config=./tinode-db/tinode.conf -data=./tinode-db/data.json ``` DB initializer needs to be run only once per installation. See [instructions](tinode-db/README.md) for more options. @@ -145,7 +145,7 @@ MongoDB should run as single node replicaset. See https://docs.mongodb.com/manua 5. Run the server ``` - $GOPATH/bin/tinode -config=./server/tinode.conf -static_data=$HOME/tinode/webapp/ + $GOPATH/bin/server -config=./server/tinode.conf -static_data=$HOME/tinode/webapp/ ``` 6. Test your installation by pointing your browser to [http://localhost:6060/](http://localhost:6060/). The static files from the `-static_data` path are served at web root `/`. You can change this by editing the line `static_mount` in the config file.