Skip to content

Commit 0a3c606

Browse files
committed
update readme.md: add requirements and fix run parser block
1 parent 25dd25e commit 0a3c606

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,23 @@ PHP 5.6+
1414
Логин-пароль от сайта и адрес темы, как и адрес форм авторизации и т.п.
1515
должны быть вынесены в отдельный файл конфигурации.
1616

17+
# About
18+
All configuration is in the `.env` file. All parsed posts will be in the `posts` directory.
19+
20+
# Requirements
21+
1. PHP 7.1+
22+
1723
# Run parser
18-
Only 2 steps:
1924
1. checkout project via `GIT`
2025
```
2126
cd /path/to/project
2227
git clone https://github.com/lutdev/techtask.git
2328
```
24-
2. Run
29+
2. Create `.env` file
30+
```
31+
rsync env.example .env
32+
```
33+
3. Run
2534
```
2635
php index.php
2736
```

0 commit comments

Comments
 (0)