This repository has been archived on 2024-06-12. You can view files and clone it, but cannot push or open issues or pull requests.
ipserv/INSTALLING.md

17 lines
671 B
Markdown
Raw Normal View History

2024-04-20 02:41:31 +01:00
# With docker
2024-04-22 02:58:05 +01:00
**Warning:** `latest` is automatically built and published from the `master` branch. It is not recommended to use `latest` in production.
You should, instead, use a specific commit hash.
1. Run `docker run -it --name ipserv --restart unless-stopped -p 8080:80/tcp -e "GUNICORN_CMD_ARGS='-w $(nproc)'" -d git.i-am.nexus/nex/ipserv:latest`
2. Access `http://localhost:8080/` in your browser
3. Profit!?
2024-04-20 02:41:31 +01:00
## 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!?