Skip to content

Commit 8749fa1

Browse files
author
Eugene Lebedev
committed
Update docs
1 parent dae1f9c commit 8749fa1

File tree

2 files changed

+44
-10
lines changed

2 files changed

+44
-10
lines changed

docs/Install.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,19 @@
22

33
1. Install Chrome Web Driver
44

5-
ArchLinux:
5+
**RedHat/CentOS:**
6+
7+
```shell
8+
yum -y install chromedriver
9+
```
10+
11+
**ArchLinux:**
612

713
```shell
814
paru -S chromedriver
915
```
1016

11-
For other OS check [official download page](https://chromedriver.chromium.org/downloads).
17+
For other OS check [official download page](https://chromedriver.chromium.org/downloads).
1218

1319
2. Install chrome
1420

@@ -17,8 +23,14 @@
1723
```shell
1824
paru -S google-chrome
1925
```
20-
21-
3. Run chrome-driver
26+
27+
3. Add permission:
28+
29+
```shell
30+
chmod +x spt
31+
```
32+
33+
4. Run chrome-driver
2234

2335
```shell
2436
$ chromedriver

docs/Usage.md

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,46 @@
11
# How to use
22

3-
## 1. Set permissions
3+
## 0. Prerequisites
4+
5+
[Run chrome driver](docs/Install.md)
46

5-
1. [Install and run chrome driver](docs/Install.md)
7+
## 1. Set permissions
68

7-
2. Prepare XML file for import
9+
1. Prepare XML file for import
810

911
Prepare `import.xml` file. You can override filename with `--xml-file` option.
1012

11-
3. Prepare app config:
13+
2. Prepare app config:
1214

1315
```shell
1416
cp spt.yml-dist spt.yml
1517
```
1618

1719
Edit and put valid credentials, tokens, etc.
1820

19-
4. Run:
21+
3. Run:
2022

2123
```shell
22-
chmod +x spt
2324
./spt set
2425
```
26+
27+
## 2. Get empty permissions
28+
29+
Run:
30+
31+
```shell
32+
./spt get-empty
33+
```
34+
35+
Example output:
36+
37+
```json
38+
[
39+
{
40+
"name": "i.petrov",
41+
"login": "Ivan Petrov",
42+
"client": "AppStore",
43+
"category": "Frogs Ltd"
44+
}
45+
]
46+
```

0 commit comments

Comments
 (0)