From d228b599b10addca7a75f4c58315b5081a51cf6d Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Wed, 11 Apr 2018 09:41:48 -0700 Subject: [PATCH 1/3] remove phpunit from readme --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 9bc240d..da70a7d 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,6 @@ You'll need to make sure the following PHP extensions are installed. Typically t * curl * mbstring -* phpunit * zip * unzip From 6dadc526d9af6475b5853115ca6b7ed3ad03281d Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Fri, 1 Jun 2018 16:33:12 -0700 Subject: [PATCH 2/3] Update README.md --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index da70a7d..57c126f 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ To write to a database, make a POST request in JSON format with the following ke The GeoJSON objects must have at least one property, "timestamp", which is can be any value that can be interpreted as a date. The object can have any additional properties you wish. -The open source iOS [GPS Logger](https://github.com/aaronpk/GPS-Logger-iOS) will send data in this format by default. +The open source iOS [Overland](https://github.com/aaronpk/Overland-iOS) will send data in this format by default. ``` POST /api/input?token=XXXXXXX HTTP/1.1 @@ -110,8 +110,7 @@ Content-type: application/json "horizontal_accuracy": 65 } } - ], - "token": "XXXXXXX" + ] } ``` From 0681f53f34633e9cddf10875733368a64b941069 Mon Sep 17 00:00:00 2001 From: lubikx Date: Fri, 24 Aug 2018 12:05:27 +0200 Subject: [PATCH 3/3] STORAGE_DIR env variable must end with /, otherwise app tries to write to different directory --- compass/.env.example | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compass/.env.example b/compass/.env.example index 6ecaa00..b41d129 100644 --- a/compass/.env.example +++ b/compass/.env.example @@ -6,10 +6,10 @@ BASE_URL=https://compass.example.com/ # Source code: https://github.com/aaronpk/Atlas ATLAS_BASE=https://atlas.p3k.io/ -# This is where the location data will be saved. +# This is where the location data will be saved, MAKE SURE PATH ENDS WITH / # Compass will create a folder for each "database" you create after you log in. # Make sure the web server or PHP process can write here. -STORAGE_DIR=/var/compass/data +STORAGE_DIR=/var/compass/data/ # Set APP_KEY to a 32 character string. This is used to encrypt session data. # You can generate a string using the command `php artisan key:generate`