Fix in README
This commit is contained in:
parent
19a8e5a70f
commit
dbfb964cec
1 changed files with 21 additions and 3 deletions
24
README.md
24
README.md
|
|
@ -22,7 +22,7 @@ After=network.target
|
|||
Type=simple
|
||||
User=pzoo
|
||||
Group=pzoo
|
||||
ExecStart=pastafaristats
|
||||
ExecStart=/path/to/pastafaristats
|
||||
Restart=always
|
||||
Environment=PYTHONUNBUFFERED=1
|
||||
|
||||
|
|
@ -37,7 +37,7 @@ You can configure the script placing a config file in /etc/pastafari/stats.cfg
|
|||
```
|
||||
[DEFAULT]
|
||||
|
||||
url_server=http://url_server_collect_data/send_data/api_key/api_key_selected/ip/ip_server
|
||||
url_server=http://url_server_collect_data/
|
||||
```
|
||||
|
||||
Where url_server_collect_data is the hostname of server collecting data, api_key_selected, the api key of server for accept the data, and ip_server, the ip of the server that send the data.
|
||||
|
|
@ -50,5 +50,23 @@ First, install python 3 (last stable version if you can, actually python 3.9). Y
|
|||
|
||||
### Important
|
||||
|
||||
**You must install python with "Add to windows path" enabled.**
|
||||
**You must install python with "Add python.exe to windows path" enabled.**
|
||||
|
||||
You need install git. You should install it in Windows path too.
|
||||
|
||||
You can install PastafariStats with its command how in Linux/*nix.
|
||||
|
||||
`pip3 install git+https://bitbucket.org/paramecio/pastafaristats`
|
||||
|
||||
Next, you need create the config file. For example, if you have an user called "my_user", you can install configuration file in C:/Users/my_user/config/stats.cfg with the same contents how in Linux.
|
||||
|
||||
```
|
||||
[DEFAULT]
|
||||
|
||||
url_server=http://url_server_collect_data/
|
||||
```
|
||||
|
||||
Now, you need install the python script how service. You can use a classic manager services for windows called [NSSM](https://nssm.cc/). If you use Windows 10 64 bits, you can download from [here](https://nssm.cc/ci/nssm-2.24-101-g897c7ad.zip)
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue