Git Product home page Git Product logo

trackman's Introduction

Installation

1. Rails Environment Variables

Certain credentials and parameters required to run the app are stored in a special file named application.yml and loaded using the figaro gem.

Here's an example of such file : config/application.yml

2. Seed admin account/rules

Running the seed_fu (powered by the seed_fu gem), it'll take care of the rest :

RAILS_ENV=production rake db:seed_fu

The seed data is located inside the db/fixtures directory.

3. Traccar server configuration file

Configuration file example

Also it's important to change Traccar default refresh delay as shown in the configuration file example above, here's why.

4. DROP all foreign keys on traccar database tables

It is important to deactivate all foreign keys on tables, because their database is setup in such a way that you can't remove a device without removing a position and you can't remove a last position without removing device.

5. Set up MySQL timezone

The app expects MySQL Timezone to be UTC.

trackman's People

Contributors

andreasarnol02 avatar haj avatar zackbraksa avatar zakariaboualaid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

pablojimeno

trackman's Issues

Speed limit alarms

I suppose speed limit would be a property that we can set up for both vehicles (individually) but also for a group of cars ?

Getting the speed limit for the current location would be awesome but I don't think Google Maps provides that kind of information (not yet anyways)

Rules vs Alarms

Can we consider alarms to be just a special case of rules ? I mean aren't alarm just rules defined by us (the admins) ?

For example the alarm "Vehicle starts moving" is basically

If "Vehicle starts moving" then "Send Generate Alarm"

The reason I'm asking is that I'm thinking if we could use a bunch of tables for scenarios ... just to keep the data for both in the same place!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.