From 1af6f7c7ceffcf99e9c35acea869bebc202b7f78 Mon Sep 17 00:00:00 2001 From: Lala Sabathil Date: Tue, 28 Mar 2023 16:15:41 +0200 Subject: [PATCH] docs: update to new npm install command - refer to release link --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9ec9770..06ea12a 100644 --- a/README.md +++ b/README.md @@ -24,9 +24,9 @@ Step by step installation: Setting up the bot requires basic knowledge of the command line, which is bash or similar on Linux/Mac, and cmd.exe in Windows 1. Install [nodejs](https://nodejs.org). TediCross requires at least node version 16 - 2. Clone this git repo, or download it as a zip or whatever + 2. Clone this git repo, or download the latest [release](https://github.com/TediCross/TediCross/releases/latest) 3. Open a terminal and enter the repo with the [`cd`](https://en.wikipedia.org/wiki/Cd_(command)) command. Something like `cd Downloads/TediCross-master`. Your exact command may differ - 4. Run the command `npm install --production` + 4. Run the command `npm install --omit=dev` 5. Make a copy of the file `example.settings.yaml` and name it `settings.yaml` 6. Acquire a bot token for Telegram ([How to create a Telegram bot](https://core.telegram.org/bots#3-how-do-i-create-a-bot)) and put it in the settings file - The Telegram bot must be able to access all messages. Talk to [@BotFather](https://t.me/BotFather) to disable privacy mode for the bot