https://github.com/anduin2017/gameoflife
https://github.com/anduin2017/gameoflife
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/anduin2017/gameoflife
- Owner: Anduin2017
- Created: 2025-03-20T16:58:26.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-03-20T16:58:29.000Z (about 1 year ago)
- Last Synced: 2025-03-30T00:27:06.721Z (about 1 year ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Game of life
[](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 |