From 2f9f41bf4e571431b1419aae0a5a980254f7ac7d Mon Sep 17 00:00:00 2001 From: Suyuimo Date: Wed, 11 Nov 2020 09:00:46 +0100 Subject: [PATCH 1/7] Update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index adfd49a..f9c7b3e 100755 --- a/README.md +++ b/README.md @@ -25,6 +25,11 @@ docker run --rm \ thundersquared/tikvidbot ``` + +## Start it without Docker + +Just run "yarn" once and then you can start the bot with "yarn dev" + ## Tech stack The bot is written in Node.JS, relies on [telegraf](https://github.com/telegraf/telegraf) to consume Telegram's Bot API, loves [got](https://github.com/sindresorhus/got) for fetching video pages and streaming videos and [jsdom](https://github.com/jsdom/jsdom) for parsing and interacting with them. From 1202309baf63d10a66da3df45d02bfca2fef3044 Mon Sep 17 00:00:00 2001 From: Suyuimo Date: Wed, 11 Nov 2020 09:02:51 +0100 Subject: [PATCH 2/7] Create requirements.txt --- requirements.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..f9fb437 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,11 @@ +To install node and yarn just use the folowing code: + +# Installieren der Vorraussetzungen: + +# Using Debian, as root +curl -sL https://deb.nodesource.com/setup_15.x | bash - +apt install -y nodejs +apt install gcc g++ make -y +curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - +echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list +apt update && apt install yarn -y From 30520b2771004798faac5cfbb407a4446110c4b8 Mon Sep 17 00:00:00 2001 From: Suyuimo Date: Wed, 11 Nov 2020 09:03:44 +0100 Subject: [PATCH 3/7] Update README.md --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f9c7b3e..2f269d9 100755 --- a/README.md +++ b/README.md @@ -26,7 +26,12 @@ thundersquared/tikvidbot ``` -## Start it without Docker +Start it without Docker + +install node and yarn with this manual: + +https://github.com/Suyuimo/tikvidbot/blob/master/requirements.txt + Just run "yarn" once and then you can start the bot with "yarn dev" From f367af08aaa38dd1673e56796b554935499ebd27 Mon Sep 17 00:00:00 2001 From: Suyuimo Date: Wed, 11 Nov 2020 09:04:45 +0100 Subject: [PATCH 4/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2f269d9..a4853df 100755 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ thundersquared/tikvidbot ``` -Start it without Docker +Start it without Docker: install node and yarn with this manual: From 531daaf17fbe5541a51ad948be518205899746de Mon Sep 17 00:00:00 2001 From: Suyuimo Date: Wed, 11 Nov 2020 09:15:15 +0100 Subject: [PATCH 5/7] Rename requirements.txt to INSTALL.md --- requirements.txt => INSTALL.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename requirements.txt => INSTALL.md (100%) diff --git a/requirements.txt b/INSTALL.md similarity index 100% rename from requirements.txt rename to INSTALL.md From 6541bdf4dc09d60e0d58856689e449c28c0506e6 Mon Sep 17 00:00:00 2001 From: Suyuimo Date: Wed, 11 Nov 2020 09:19:12 +0100 Subject: [PATCH 6/7] Update INSTALL.md --- INSTALL.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index f9fb437..d1964c2 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -1,11 +1,13 @@ -To install node and yarn just use the folowing code: +## To install node and yarn just use the folowing code -# Installieren der Vorraussetzungen: -# Using Debian, as root +Using Debian, as root + +```bash curl -sL https://deb.nodesource.com/setup_15.x | bash - apt install -y nodejs apt install gcc g++ make -y curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list apt update && apt install yarn -y +``` From f25228438527db46d62ccf01a31b41de63a910b5 Mon Sep 17 00:00:00 2001 From: Suyuimo Date: Wed, 11 Nov 2020 09:19:57 +0100 Subject: [PATCH 7/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a4853df..3745e13 100755 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Start it without Docker: install node and yarn with this manual: -https://github.com/Suyuimo/tikvidbot/blob/master/requirements.txt +https://github.com/Suyuimo/tikvidbot/blob/master/INSTALL.md Just run "yarn" once and then you can start the bot with "yarn dev"