Reworked setup.py, now you can run cmd_chat directly. Reworked sanic http webserver to make it work. Update readme, etc...
This commit is contained in:
@@ -27,35 +27,20 @@ if __name__ == '__main__':
|
||||
```
|
||||
|
||||
|
||||
### Or (Windows)
|
||||
### Or
|
||||
|
||||
Start server:
|
||||
|
||||
```
|
||||
.\cmd_chat.bat serve localhost 5000
|
||||
cmd_chat serve localhost 5000
|
||||
```
|
||||
|
||||
Connect to server:
|
||||
|
||||
```
|
||||
.\cmd_chat.bat connect localhost 5000 tyler
|
||||
cmd_chat connect localhost 5000 tyler
|
||||
```
|
||||
|
||||
### Or (Linux)
|
||||
|
||||
Start server:
|
||||
|
||||
```
|
||||
python3 cmd_chat.py serve localhost 5000
|
||||
```
|
||||
|
||||
Connect to server:
|
||||
|
||||
```
|
||||
python3 cmd_chat.py connect localhost 5000 tyler
|
||||
```
|
||||
|
||||
|
||||
How does encryption work?
|
||||
|
||||
* The client generates a private key.
|
||||
|
||||
Reference in New Issue
Block a user