Browse Source

Merge branch 'master' of github.com:aaronpk/Compass

pull/31/head
Aaron Parecki 6 years ago
parent
commit
d8affcd0be
No known key found for this signature in database GPG Key ID: 276C2817346D6056
2 changed files with 4 additions and 6 deletions
  1. +2
    -4
      README.md
  2. +2
    -2
      compass/.env.example

+ 2
- 4
README.md View File

@ -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"
]
}
```

+ 2
- 2
compass/.env.example View File

@ -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`

Loading…
Cancel
Save