Collect geolocation from users in real-time and display their GPS tracks on a website.
Deploy this app to Linode with a free $100 credit!
This is a web application for real-time collection of geolocation data, tracks viewing and management. Together with a dedicated μlogger mobile client it may be used as a complete self hosted server–client solution for logging and monitoring users' geolocation.
uploads
folder (for uploaded images) should be writeable by PHP scriptsnpm
and run npm install
and npm run build
in root folderconfig.default.php
and rename it to config.php
. Customize it and add database credentialsscripts/setup.php
script, enable it by setting $enabled value to true
scripts/setup.php
script.docker/
and .tests/
as well as composer files are needed only for development. May be safely removedscripts/migrate_to_1_x.mysql
admin
column in users
table to true for admin usersconfig.php
php scripts/migrate_to_1_x.php
config.php
file and remove all variables except database settings, see config.default.php for valid valuesuploads
folder (for images uploaded from client app) is writable by PHPdocker run --name ulogger -p 8080:80 -d bfabiszewski/ulogger
and access http://localhost:8080
in your browser. Log in with admin
:admin
credentials and change default passworddocker run --name ulogger -e ULOGGER_LANG="pl" -p 8080:80 -d bfabiszewski/ulogger
docker build .
from the root folder where Dockerfile
reside. There are optional build-time arguments that allow you to set default database passwords for root and ulogger usersdocker build --build-arg DB_ROOT_PASS=secret1 --build-arg DB_USER_PASS=secret2 --build-arg DB_DRIVER=sqlite .
composer install
npm install
docker build -t ulogger .
docker run -d --name ulogger -p 8080:80 -p 8081:3306 --expose 3306 -e ULOGGER_ENABLE_SETUP=1 ulogger
.env
file in .tests/
folder) to set up connection details (below database credentials are docker defaults)DB_DSN="mysql:host=127.0.0.1;port=8081;dbname=ulogger;charset=utf8"
DB_USER=ulogger
DB_PASS=secret2
ULOGGER_URL="http://127.0.0.1:8080"
XDEBUG_MODE=coverage ./vendor/bin/phpunit -c .tests/phpunit.xml
npm test
npm run lint:js
npm run lint:css
bc1qt3uwhze9x8tj6v73c587gprhufg9uur0rzxhvh
0x100C31C781C8124661413ed6d1AA9B1e2328fFA2
Please login to review this project.
No reviews for this project yet.
Entry-level fleet tracking system. Supports variety of trac…
Store and access data published by OwnTracks location track…
View/search Uber H3 (Hexagonal Hierarchical Spatial Index) …
Comments (0)
Please login to join the discussion on this project.