aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorJuergen Ryannel <juergen@ryannel.org>2019-05-15 15:47:56 +0200
committerBramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>2019-09-02 10:45:17 +0000
commit6752b5f475b266997ec9f1b65920665f466e8d5d (patch)
treee02df8ca423030fad0b8e9a1133844c1aafa8893 /server
parent5f259e60542de5061a5ecec163978d4ec85ccbbe (diff)
qt analytics initial importHEADdev
Change-Id: I2a0274b00f848d7eaf698ce3b68cf4f5dfd0a516 Reviewed-by: Vladimir Minenko <vladimir.minenko@pelagicore.com> Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
Diffstat (limited to 'server')
-rw-r--r--server/README.md51
-rw-r--r--server/docker-compose.yml21
2 files changed, 72 insertions, 0 deletions
diff --git a/server/README.md b/server/README.md
new file mode 100644
index 0000000..f2cbb1e
--- /dev/null
+++ b/server/README.md
@@ -0,0 +1,51 @@
+# Piwik Demo
+
+## Install Docker
+
+* https://docs.docker.com/install/
+* https://docs.docker.com/compose/install/
+
+## Start Server
+
+ docker-compose up
+
+
+## Login
+
+ http://127.0.01:8080
+
+Follow the instructions
+
+* Database Server: db
+* Login: root
+* Password: securepassword
+* Database name: matomo
+
+Create superuser
+
+User: root
+Password: securepassword
+Email: mail@example.org
+
+## Create First App to Track
+
+Name: QtExampleApp
+Website: http://example.org
+Time Zone: UTC
+Ecommerce: No
+
+## Add Tracker Code
+
+Browse down to MobileApps and SDKs, in the list search for Qt.
+
+Finish installation and login again
+
+## Shutdown Server
+
+Just press Ctrl-C or in a another shell, same directory
+
+ docker-compose down
+
+
+
+
diff --git a/server/docker-compose.yml b/server/docker-compose.yml
new file mode 100644
index 0000000..d5c07ee
--- /dev/null
+++ b/server/docker-compose.yml
@@ -0,0 +1,21 @@
+version: '3'
+services:
+ db:
+ image: mariadb
+ environment:
+ - MYSQL_ROOT_PASSWORD=securepassword
+ volumes:
+ - 'db_data:/var/lib/mysql'
+ app:
+ image: matomo
+ ports:
+ - '8080:80'
+ volumes:
+ - 'app_data:/var/www/html/config:rw'
+ depends_on:
+ - db
+volumes:
+ db_data:
+ driver: local
+ app_data:
+ driver: local