An open API service indexing awesome lists of open source software.

https://github.com/anduin2017/ipcalc

Mirror of: https://gitlab.aiursoft.cn/anduin/ipcalc
https://github.com/anduin2017/ipcalc

ip ip-calculator

Last synced: 4 months ago
JSON representation

Mirror of: https://gitlab.aiursoft.cn/anduin/ipcalc

Awesome Lists containing this project

README

          

# IP Calc

[![ManHours](https://manhours.aiursoft.com/r/gitlab.aiursoft.com/anduin/ipcalc.svg)](https://gitlab.aiursoft.com/anduin/ipcalc/-/commits/master?ref_type=heads)

![screenshot of ip calculator](./screenshot.png)

## Run in Docker

First, install Docker [here](https://docs.docker.com/get-docker/).

Then run the following commands in a Linux shell:

```bash
image=hub.aiursoft.com/anduin/ipcalc
appName=ipcalc
sudo docker pull $image
sudo docker run -d --name $appName --restart unless-stopped -p 5000:5000 $image
```

That will start a web server at `http://localhost:5000` and you can test the app.

The docker image has the following context:

| Properties | Value |
|-------------|----------------------------------------|
| Image | hub.aiursoft.com/anduin/ipcalc |
| Ports | 5000 |
| Binary path | /app |
| Data path | /data |