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

https://github.com/anduin2017/gameoflife


https://github.com/anduin2017/gameoflife

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# Game of life

[![ManHours](https://manhours.aiursoft.cn/r/gitlab.aiursoft.cn/anduin/game-of-life.svg)](https://gitlab.aiursoft.cn/anduin/game-of-life/-/commits/master?ref_type=heads)

## 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.cn/anduin/gameoflife
appName=homepage
sudo docker pull $image
sudo docker run -d --name $appName --restart unless-stopped -p 5000:5000 -v /var/www/$appName:/data $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.cn/anduin/gameoflife |
| Ports | 5000 |
| Binary path | /app |
| Data path | /data |