Giter Site home page Giter Site logo

stichting-crow / dd-importer-v2 Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 80 KB

v2: Scripts for importing locations of bikes within bike-sharing systems, from MDS/GBFS/TOMP datafeeds

Home Page: https://dashboarddeelmobiliteit.nl

License: Mozilla Public License 2.0

Dockerfile 1.15% Go 98.85%

dd-importer-v2's Introduction

go-import-vehicles

Introduction

The goal of this app is to collect shared mobility data of different providers into one database.

This database can be used by municipalities and other govermental organisations that are granted access by CROW.

The data can be accessed by going to https://deelfietsdashboard.nl/ and https://dashboarddeelmobiliteit.nl/ .

Features

This app runs continuously:

  • It polls MDS/GBFS/TOMP API's
  • It stores aggregated data in the postgresql database

How to install

Install go, see https://go.dev/doc/install

Install redis, i.e. sudo apt-get install redis

Install tile38, i.e. https://github.com/tidwall/tile38/releases

Run:

export DEV=false
export DB_NAME=deelfietsdashboard
export DB_USER=deelfietsdashboard
export DB_HOST=localhost
export DB_PASSWORD=X
export REDIS_HOST=localhost:6379
export TILE38_HOST=localhost:9851

How to run

Start postgres.

Start redis-server:

redis-server

Start tile38-server:

./tile38-server --appendonly no

Run:

export DEV=false
export DB_NAME=deelfietsdashboard
export DB_USER=deelfietsdashboard
export DB_HOST=localhost
export DB_PASSWORD=x
export REDIS_HOST=localhost:6379
export TILE38_HOST=localhost:9851

/usr/local/go/bin/go run .

Questions?

Email to [email protected]

dd-importer-v2's People

Contributors

sven4all avatar bartwr avatar

Watchers

 avatar  avatar

dd-importer-v2's Issues

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.