From af16b915977d80764fb502711ecd0653485ede4d Mon Sep 17 00:00:00 2001 From: Vainsocial root Date: Wed, 8 Mar 2017 19:27:11 +0000 Subject: updated to r1.0.0 --- .gitmodules | 3 +++ apigrabber | 2 +- processor | 2 +- spider | 1 + statscompiler | 2 +- supervisord.conf | 14 ++++++++++++++ 6 files changed, 21 insertions(+), 3 deletions(-) create mode 160000 spider diff --git a/.gitmodules b/.gitmodules index 24447b6..d45ab75 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,3 +10,6 @@ [submodule "discordbot"] path = discordbot url = https://github.com/vainglorygame/discordbot +[submodule "spider"] + path = spider + url = https://github.com/vainglorygame/spider diff --git a/apigrabber b/apigrabber index 45f4a6f..60cb876 160000 --- a/apigrabber +++ b/apigrabber @@ -1 +1 @@ -Subproject commit 45f4a6f741ad67c967d9cf03b8d62ff8789ac002 +Subproject commit 60cb876a25c916ac37b6f08b20bfbbda2a2d68c1 diff --git a/processor b/processor index 1641e45..d8c18eb 160000 --- a/processor +++ b/processor @@ -1 +1 @@ -Subproject commit 1641e45800db1baf4cc1cd61b9bc2c675979317f +Subproject commit d8c18eb6c25db3b802207b292e3e157741ac5bc9 diff --git a/spider b/spider new file mode 160000 index 0000000..53588e2 --- /dev/null +++ b/spider @@ -0,0 +1 @@ +Subproject commit 53588e2f1e86ec3c3bfa4f69af1aebe36130bc34 diff --git a/statscompiler b/statscompiler index 7832197..aaf6469 160000 --- a/statscompiler +++ b/statscompiler @@ -1 +1 @@ -Subproject commit 7832197c4a4259883d728ad2259129bcc5af0ded +Subproject commit aaf64697787d13bdd85ce68a676f95c8f6c22a3b diff --git a/supervisord.conf b/supervisord.conf index 408b4c5..6dcdb4f 100644 --- a/supervisord.conf +++ b/supervisord.conf @@ -15,6 +15,20 @@ environment= POSTGRESQL_PASSWORD= +[program:vainsocial-spider] +user=vainsocial +command=/vainsocial/spider/venv/bin/python /vainsocial/spider/api.py +redirect_stderr=true +stdout_logfile=/vainsocial/logs/spider.log +environment= + VAINSOCIAL_APITOKEN=, + POSTGRESQL_HOST=, + POSTGRESQL_PORT=5433, + POSTGRESQL_DB=vain_raw, + POSTGRESQL_USER=vainraw, + POSTGRESQL_PASSWORD= + + [program:vainsocial-processor] user=vainsocial command=/vainsocial/processor/venv/bin/python /vainsocial/processor/api.py -- cgit v1.3.1