docufix
This commit is contained in:
parent
e5a1324684
commit
d671eec81f
@ -6,7 +6,6 @@ There are various ways to install MadelineProto:
|
|||||||
* [Simple (manual)](#simple-manual)
|
* [Simple (manual)](#simple-manual)
|
||||||
* [Composer from scratch](#composer-from-scratch)
|
* [Composer from scratch](#composer-from-scratch)
|
||||||
* [Composer from existing project](#composer-from-existing-project)
|
* [Composer from existing project](#composer-from-existing-project)
|
||||||
* [Git](#git)
|
|
||||||
|
|
||||||
|
|
||||||
## Simple
|
## Simple
|
||||||
@ -99,23 +98,4 @@ Then you can require the package by addding the following line to the require se
|
|||||||
"danog/madelineproto":"dev-master"
|
"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>
|
Loading…
Reference in New Issue
Block a user