System for routes/tracks sharing
! MacOS/Windows is not supported !
Our local environment works only on Linux based OS. if you are able to modify the enviroment to be compatible with windows/macos please create MR containing CI tests.
Start local env
bash run.sh
Attaching to the web
container
docker exec -it -u www-data track_web_1 bash
composer install
yarn install
# dev env
yarn encore dev
# prod env
yarn encore production
cd /var/www/script/migration
composer install --no-dev
./vendor/bin/phinx migrate
Execute the following sql query, replace @some_condition@
with your conditions.
UPDATE `user`
SET `roles` = 'a:1:{i:0;s:10:"ROLE_ADMIN";}'
WHERE @some_condition@
.env.dist
gps.test
to match your container ip. Then you must access the project via https://gps.test instead of the container IP. if you need different hostname - please create an issue/PR.Example config in /etc/hosts
172.20.0.3 gps.test
If you use your own facebook application, then you need to fill your credentials in .env
file.
Our ElevationDiffReducer have “buffer” of 40 metres.
Elevation accuracy: