diff --git a/README.md b/README.md index 9bc240d..57c126f 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 @@ -92,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 @@ -111,8 +110,7 @@ Content-type: application/json "horizontal_accuracy": 65 } } - ], - "token": "XXXXXXX" + ] } ``` 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`