GithubHelp home page GithubHelp logo

open-data-velenje's Introduction

Open Data Velenje

Open Data Velenje is a project where we have built an interface through which organizations can share their data in a simple way. With the help of Organicity experiment, we made it possible.

Organicity logo

Getting started

Download Docker. If you are on Mac or Windows, Docker Compose will be automatically installed. On Linux, make sure you have the latest version of Compose. If you're using Docker for Windows on Windows 10 pro or later, you must also switch to Linux containers.

Run in this directory:

docker-compose up --build

The app will be running at http://localhost.

After that you should set your .env file based on our .env.example file. You will need to set:

LOCAL_OC_URL=your local OC Site url (example: http://88.212.147.244)
SECRET_KEY_BASE=devise secret key
DATABASE_PASSWORD=mongodb password
DATABASE_USER=mongodb username
DATABASE_NAME=name of your mongo database
ENVIRONMENT=development or production

Add Organicity data types:

Run rake db:seed to add all Organicity data types into database. This will also add some test organizations, so you can start experimenting with the app right away.

You can always edit the seeds.rb file to add your own test organizations or change the data types. You can find all current Organicity data types here.

Architecture

Architecture diagram

An organization creates a new account and provide data source (URL) and fetch type. Platform periodically pool data from the source, parse and store them in the database. Admin should approve organization by calling approve! function on your desired organization. This will display the organization on /organizations, allow the organization to sign in, add API documentation and also send a notification email to the organization stating that they were approved. The approved organization can access API configurator to set up field types and write a short description of a field. If oc_sync is set to the true platform will push organization data to Organicity (set LOCAL_OC_URL environment variable to point at your local OC Site). Organization data is available at endpoint http://localhost/api/v1/organizations/:organization_name

open-data-velenje's People

Contributors

samozeleznik avatar luxxi avatar islammusic avatar

Watchers

 avatar James Cloos avatar  avatar  avatar

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.