Added TODOs

This commit is contained in:
Simon Beginn 2020-07-31 19:11:19 +02:00
parent 3c27aec8f2
commit 04028ec4ea
2 changed files with 8 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Getting Started # Getting Started
What follows are some guides how to start the `pykms_Server.py` script, which provides the server. What follows are some guides how to start the `pykms_Server.py` script, which provides the server.
## Manually ## Manual execution
*** ***
A Linux user with `ifconfig` command can get his KMS IP (Windows users can try `ipconfig /all`). A Linux user with `ifconfig` command can get his KMS IP (Windows users can try `ipconfig /all`).
@ -30,10 +30,15 @@ user@host ~/path/to/folder/py-kms $ python3 pykms_Server.py 192.168.1.102 1688
To stop `pykms_Server.py`, in the same bash window where code running, simply press `CTRL+C`. To stop `pykms_Server.py`, in the same bash window where code running, simply press `CTRL+C`.
Alternatively, in a new bash window, use `kill <pid>` command (you can type `ps aux` first and have the process <pid>) or `killall <name_of_server>`. Alternatively, in a new bash window, use `kill <pid>` command (you can type `ps aux` first and have the process <pid>) or `killall <name_of_server>`.
## Automatically by daemon ## Running as a service
*** ***
You can simply manage a daemon that runs as a background process. You can simply manage a daemon that runs as a background process.
//TODO add note regarding docker (and its ipv4/ipv6 mastery)
### Docker
//TODO -> Merge README section!
### Systemd ### Systemd
If you are running a Linux distro using `systemd`, create the file: `sudo nano /etc/systemd/system/py3-kms.service`, then add the following (change it where needed) and save: If you are running a Linux distro using `systemd`, create the file: `sudo nano /etc/systemd/system/py3-kms.service`, then add the following (change it where needed) and save:

View File

@ -7,4 +7,4 @@ Some stuff which needs to be done...
* Migrate README * Migrate README
* `pykms_Server.py` /Client has sometimes some _underscores_ to much * `pykms_Server.py` /Client has sometimes some _underscores_ to much
* Reformulate Documentation intro * Reformulate Documentation intro
* See getting started