This commit is contained in:
Daniil Gentili 2018-04-06 10:51:47 +02:00
parent e5a1324684
commit d671eec81f

View File

@ -6,7 +6,6 @@ There are various ways to install MadelineProto:
* [Simple (manual)](#simple-manual)
* [Composer from scratch](#composer-from-scratch)
* [Composer from existing project](#composer-from-existing-project)
* [Git](#git)
## Simple
@ -99,23 +98,4 @@ Then you can require the package by addding the following line to the require se
"danog/madelineproto":"dev-master"
```
## git
Run the following commands in a console:
```bash
mkdir MadelineProtoBot
cd MadelineProtoBot
git init .
git submodule add https://github.com/danog/MadelineProto
cd MadelineProto
composer update
cp .env.example .env
cp -a *php tests userbots .env* ..
```
Now open `.env` and edit its values as needed.
<a href="https://docs.madelineproto.xyz/docs/UPDATES.html">Next section</a>
<a href="https://docs.madelineproto.xyz/docs/UPDATES.html">Next section</a>