update doc for MacOS

This commit is contained in:
Kay Marquardt (Gnadelwartz) 2020-05-17 13:16:01 +02:00
parent cbce60a3b0
commit 6531fecfed
4 changed files with 23 additions and 4 deletions

View File

@ -150,6 +150,7 @@ Written by Drew (@topkecleon), Daniil Gentili (@danogentili), and Kay M (@gnadel
<li><a href="examples/README.md">Examples Dir</a></li>
</ul>
<h3>Your really first bashbot in a nutshell</h3>
<p>Note for MacOS: you must install install a more current bash, see <a href="doc/0_install.md">Install Bashbot</a></p>
<p>To install and run bashbot you need acess to a linux/unix/bsd command line. If you don't know how to get accces to a linux/unix/bsd like command line you should stop reading here :-(</p>
<p>In addition you need a <a href="https://telegram.org">Telegram client</a> and a mobile phone to <a href="https://telegramguide.com/create-a-telegram-account/">register an account</a>. If you don't want to register for Telegram you should stop reading here ;-)</p>
<p>After you're registered to Telegram send a message to <a href="https://telegram.me/botfather">@botfather</a>, <a href="doc/1_firstbot.md">create a new Telegram Bot token</a> and write it down. You need the token to install the bot.</p>
@ -223,6 +224,6 @@ It features background tasks and interactive chats, and can serve as an interfac
<p>@Gnadelwartz</p>
<h2>That's it!</h2>
<p>If you feel that there's something missing or if you found a bug, feel free to submit a pull request!</p>
<h4>$$VERSION$$ v0.94-0-gaaa71c8</h4>
<h4>$$VERSION$$ v0.94-4-gcbce60a</h4>
</body>
</html>

View File

@ -59,6 +59,9 @@ Bashbot [Documentation](https://github.com/topkecleon/telegram-bot-bash) and [Do
* [Examples Dir](examples/README.md)
### Your really first bashbot in a nutshell
Note for MacOS: you must install install a more current bash, see [Install Bashbot](doc/0_install.md)
To install and run bashbot you need acess to a linux/unix/bsd command line. If you don't know how to get accces to a linux/unix/bsd like command line you should stop reading here :-(
In addition you need a [Telegram client](https://telegram.org) and a mobile phone to [register an account](https://telegramguide.com/create-a-telegram-account/).
@ -180,4 +183,4 @@ This may happen if to many wrong requests are sent to api.telegram.org, e.g. usi
If you feel that there's something missing or if you found a bug, feel free to submit a pull request!
#### $$VERSION$$ v0.94-0-gaaa71c8
#### $$VERSION$$ v0.94-4-gcbce60a

View File

@ -70,6 +70,10 @@ availible on www.github.com
* [Examples Dir](examples/README.md)
### Your really first bashbot in a nutshell
Note for MacOS: you must install install a more current bash, see [Install
Bashbot](doc/0_install.md)
To install and run bashbot you need acess to a linux/unix/bsd command line. If
you don't know how to get accces to a linux/unix/bsd like command line you
should stop reading here :-(
@ -253,4 +257,4 @@ tor proxy on your server you may uncomment the ```BASHBOT_CURL_ARGS``` line in
If you feel that there's something missing or if you found a bug, feel free to
submit a pull request!
#### $$VERSION$$ v0.94-0-gaaa71c8
#### $$VERSION$$ v0.94-4-gcbce60a

View File

@ -1,5 +1,16 @@
#### [Home](../README.md)
## Note for Users of MacOS
You must install a more current version of bash, as the default bash is way to old,
see e.g. [Install Bash on Mac](http://macappstore.org/bash/)
After installation / update of bashbot you must change the shebang line to point to your bash location
e.g. with the provided script ˋexamples/bash2env.shˋ
We stay with /bin/bash shebang, because using the system bash is more save. It makes it harder
for attackers or users to place broken, mangled or compromised bash executables.
## Install bashbot
1. Go to the directory you want to install bashbot, e.g.
@ -87,5 +98,5 @@ The old format is supported for backward compatibility, but may fail for corner
#### [Next Create Bot](1_firstbot.md)
#### $$VERSION$$ v0.94-0-gaaa71c8
#### $$VERSION$$ v0.94-4-gcbce60a