Add installing.md
This commit is contained in:
parent
a04b0e8811
commit
b644a3f411
1 changed files with 15 additions and 0 deletions
15
INSTALLING.md
Normal file
15
INSTALLING.md
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
# With docker
|
||||||
|
|
||||||
|
1. Clone the repository
|
||||||
|
2. Run `docker build -t ipserv:latest .`
|
||||||
|
3. Run `docker run -it --name ipserv --restart unless-stopped -p 8080:80/tcp -e "GUNICORN_CMD_ARGS='-w $(nproc)'" -d ipserv:latest`
|
||||||
|
4. Access `http://localhost:8080/` in your browser
|
||||||
|
5. Profit!?
|
||||||
|
|
||||||
|
## Without docker
|
||||||
|
|
||||||
|
1. Clone the repository
|
||||||
|
2. install `gunicorn`, `uvicorn`, `fastapi`, `aiohttp`
|
||||||
|
3. Run `gunicorn -w $(nproc) -k uvicorn.workers.UvicornWorker -b 127.0.0.1:8080 ipserv:app`
|
||||||
|
4. Access `http://localhost:8080/` in your browser
|
||||||
|
5. Profit!?
|
Reference in a new issue