From 79d8be16d39e9ee9c6ee547ab85b00136f08dbaf Mon Sep 17 00:00:00 2001 From: Jakub Jafra Date: Thu, 16 Jul 2020 20:23:59 +0200 Subject: [PATCH] Readme update --- README.md | 32 ++++++++++++++++---------------- docker-compose.yml | 21 --------------------- nginx.conf | 46 ---------------------------------------------- 3 files changed, 16 insertions(+), 83 deletions(-) delete mode 100644 docker-compose.yml delete mode 100644 nginx.conf diff --git a/README.md b/README.md index 111f8ce..ef9c93a 100755 --- a/README.md +++ b/README.md @@ -1,37 +1,37 @@ -Coloniae -======== +# Coloniae -![Full game](https://raw.githubusercontent.com/khronedev/coloniae/master/showcase/screen_1.png) +![Full game](https://raw.githubusercontent.com/jakubjafra/coloniae/master/showcase/screen_1.png) _You can even get to aristocrats in here._ This game is clone of old strategy Anno 1602. Copyrights for graphics, design and so on are held by the Ubisoft company. It is written only for educational purposes. -Play ----- +## Play -[Click here to play in your browser](https://khronedev.github.io/coloniae/app/). It takes a while to load ;) +[Click here to play in your browser](https://jakubjafra.github.io/coloniae/app/). It takes a while to load ;) -### Docker +### Running locally You can run this locally with: + ``` -docker-compose up +npm install +npm run build +npm run start ``` -Then go to `0.0.0.0:8080/index.html`. -Screenshots ------------ +Then go to `localhost:5000`. + +## Screenshots -![The begining](https://raw.githubusercontent.com/khronedev/coloniae/master/showcase/screen_2.png) +![The begining](https://raw.githubusercontent.com/jakubjafra/coloniae/master/showcase/screen_2.png) _Solid start island for futher expansion._ -![Building menu](https://raw.githubusercontent.com/khronedev/coloniae/master/showcase/screen_3.png) +![Building menu](https://raw.githubusercontent.com/jakubjafra/coloniae/master/showcase/screen_3.png) _The original Anno 1602 GUI was not implemented._ -![First working version](https://raw.githubusercontent.com/khronedev/coloniae/master/showcase/screen_first_version.png) +![First working version](https://raw.githubusercontent.com/jakubjafra/coloniae/master/showcase/screen_first_version.png) _First version was rendered in full 3D (back then in 2014!)_ -License -------- +## License This code is released under the terms of the MIT license. diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 20e2ae6..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,21 +0,0 @@ -version: "3.3" - -services: - ai-dump: - image: nginx - volumes: - - ./app:/usr/share/nginx/html - - ./nginx.conf:/etc/nginx/nginx.conf:ro - ports: - - target: 80 - published: 8080 - protocol: tcp - mode: host - links: - - fpm - fpm: - image: php:7-fpm - expose: - - 9000 - volumes: - - ./src:/usr/share/nginx/html diff --git a/nginx.conf b/nginx.conf deleted file mode 100644 index a93c75a..0000000 --- a/nginx.conf +++ /dev/null @@ -1,46 +0,0 @@ -user nginx; -worker_processes 1; - -error_log /var/log/nginx/error.log warn; -pid /var/run/nginx.pid; - - -events { - worker_connections 1024; -} - -http { - # default_type application/octet-stream; - - log_format main '$remote_addr - $remote_user [$time_local] "$request" ' - '$status $body_bytes_sent "$http_referer" ' - '"$http_user_agent" "$http_x_forwarded_for"'; - - access_log /var/log/nginx/access.log main; - - # sendfile on; - #tcp_nopush on; - - keepalive_timeout 65; - - # include /etc/nginx/conf.d/*.conf; - include /etc/nginx/mime.types; - - server { - index index.php index.html; - # server_name 0.0.0.0; - error_log /var/log/nginx/error.log; - access_log /var/log/nginx/access.log; - root /usr/share/nginx/html; - - location ~ \.php$ { - include fastcgi_params; - fastcgi_pass fpm:9000; - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; - } - - location / { - autoindex on; - } - } -}