From f834c58e9bf33f5f391810ffbb13139d8ba3b6ff Mon Sep 17 00:00:00 2001 From: Anthony Mineo Date: Sun, 8 Mar 2020 11:16:12 -0400 Subject: [PATCH] Update examples --- .env.example | 9 ++++++++- README.md | 17 +++++++++++------ 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/.env.example b/.env.example index ebab8d5..48582bb 100644 --- a/.env.example +++ b/.env.example @@ -1,2 +1,9 @@ GO111MODULE=on -CGO_ENABLED=0 \ No newline at end of file + +DATABASE_URL="postgres://dev:dev@db:5432/t2_stats" +POSTGRES_USER="dev" +POSTGRES_PASSWORD="dev" + +FTP_HOST="127.0.0.1" +FTP_USER="user" +FTP_PW="pw" \ No newline at end of file diff --git a/README.md b/README.md index b2db1dc..aae3257 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,15 @@ **This is very much still a work in progress.** The motivation behind this is to get more familiar with Go. If you notice that there are better ways to do things, I'm all ears. :) +Like all things, everything could be improved. + ## Run -- `docker-compose up` Runs the whole stack in unison -- `docker-compose up app` Just run the app, useful if you're making changes to the `main.go` file -- `docker-compose up db` Just run the db + - `docker-compose up` Runs the whole stack in unison + - `docker-compose up parser` Just run the app, useful if you're makin code changes + - `docker-compose up db` Just run the db + ## Notes @@ -19,13 +22,15 @@ If you notice that there are better ways to do things, I'm all ears. :) - Parses generated stat files into json and insert them into a database (postgres) - Keeps records in sync to prevent duped entries - Creates/Updates player records to game records + - Supports multiple game types + - Scheduled FTP stat file retreval from a remote T2 game server ## Features in que - - Read Additional GameTypes on the fly - - Use go modules - Update to v4 SQL driver - - Ability to download stat files from remote server via FTP + - Documentation + + (Feel free to open an issue if you have any suggestions/feature requests) \ No newline at end of file