https://github.com/zpoint/pywebserver
Python3.5 Web Server demo based on aiohttp
https://github.com/zpoint/pywebserver
aiohttp python3
Last synced: about 1 month ago
JSON representation
Python3.5 Web Server demo based on aiohttp
- Host: GitHub
- URL: https://github.com/zpoint/pywebserver
- Owner: zpoint
- Created: 2017-04-19T06:28:21.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-11-17T14:09:34.000Z (about 8 years ago)
- Last Synced: 2025-01-20T15:53:57.926Z (about 1 year ago)
- Topics: aiohttp, python3
- Language: Python
- Homepage:
- Size: 76.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Python Web Server Based on aiohttp
#### Requirement
sudo python3 -m pip install -r requirements.txt
#### Run
bind to port 80 require root permission
vim config.ini # change host and port etc ...
sudo nohup python3 main.py > /dev/null &
or
sudo sh start.sh
#### Test
In browser
http://localhost/
Response:
Hello Aiohttp!