Merge pull request #2 from kobolol/codex/update-api-to-listen-on-localhost
Expose API on all network interfaces
This commit is contained in:
11
README.md
11
README.md
@@ -1,2 +1,13 @@
|
|||||||
# profile-api
|
# profile-api
|
||||||
Generate easy Profile pictures and more!
|
Generate easy Profile pictures and more!
|
||||||
|
|
||||||
|
## Running locally
|
||||||
|
|
||||||
|
Install dependencies from `requirements.txt` and start the server with:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
python main.py
|
||||||
|
```
|
||||||
|
|
||||||
|
The API listens on `0.0.0.0:5000`, making it reachable from other machines on the
|
||||||
|
network.
|
||||||
|
|||||||
Reference in New Issue
Block a user