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
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.
Also it's important to change Traccar default refresh delay as shown in the configuration file example above, here's why.
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.
The app expects MySQL Timezone to be UTC.