Giter VIP home page Giter VIP logo

Karte von morgen

Screenshot

Mapping for Good

von morgen supports kindness, sustainability and joint action. Everything that brings a little happiness to our world. We believe that living in a de‐stressed, environmental‐friendly and trust‐worthy society, is already in progress. We want to support people in finding ways to embrace those values.

The Map von morgen is a website and app, that allows users to share their favorite places in the world. Places that are forward‐thinking and inspiring. The goal is to collect projects, companies and events that make a world of tomorrow, already experienceable today.

Website: https://kartevonmorgen.org/

Development

Build Status License

Are you're interested in contributing to KVM? The following is a description of a quickstart. If you're looking for a more comprehensive introduction, have a look at CONTRIBUTING.md.

Dependencies

To be able to start development you'll need the following tools:

Now clone this repository:

git clone https://github.com/kartevonmorgen/kartevonmorgen

Go to the root of it and install all the dependencies:

cd kartevonmorgen/
yarn install

Build

To build the web application run:

yarn run pack

The result can be found in dist/.

Deployment to another URL than www.kartevonmorgen.org

running

yarn run pack-beta

will automatically use https://api.ofdb.io as API url (instead kartevonmorgen.org/api - which will only work when also deploying to production).

Development

You may either use a remote instance of the OpenFairDB server or start your own instance locally.

Remote OpenFairDB server

The easiest way to get a local setup running is by using the remote API of OpenFairDB. To do so change src/constants/URLs.js to

OFDB_API: {
    //link: window.location.origin + "/api" //use when you run openfairdb locally
    link: window.location.protocol + "//" + "api.ofdb.io/v0" //use this to use the remote api
}

Don't forget to skip those changes later when comitting or revert them before starting a local server instance as described next!

Local OpenFairDB server

The alternative is to run OpenFairDB server locally. A static executable for all recent versions is available on the OpenFairDB Releases page.

Download, unpack and run (on Linux):

wget https://github.com/kartevonmorgen/openfairdb/releases/download/v0.5.5/openfairdb_v0.5.5.x86_64-unknown-linux-musl.tar.xz
tar xJf openfairdb_v0.5.5.x86_64-unknown-linux-musl.tar.xz
RUST_LOG=info ROCKET_PORT=6767 ./openfairdb

openfairdb should be listening on port 6767. Stop the server for finishing the initial setup.

Database setup

The file openfair.db with an empty SQLite3 database has been created during the first startup in the current working directory. This empty database needs to be populated with 3 categories that are referenced from the frontend by their ids.

For this purpose start your favourite SQLite3 management tool, open the openfairdb.db file and execute the SQL statements in res/init_openfairdb_categories_de.sql. You can also accomplish this task with the SQLite CLI tool:

sqlite3 openfair.db < res/init_openfairdb_categories_de.sql

The actual names of the categories in the database do not matter, but you may translate them into your preferred language.

Now restart the server again and keep it running in a terminal to monitor the logs:

RUST_LOG=info ROCKET_PORT=6767 ./openfairdb

Web app

Get the web app running:

cd /path/to/kartevonmorgen/
yarn start

The web app is now listening on port 8080. Open it in your browser https://localhost:8080. Ignore the security warning that is caused by a self-signed certificate in the local proxy.

On every file change in src/, the app will be build for you and the browser reloads automatically.

Tests

All the tests can be found in the spec/ folder. To run the tests type

yarn test

Backend

KVM uses the OpenFairDB as its backend.

License

This project is licensed under the AGPLv3 license.

Karte von morgen's Projects

.github icon .github

General information about the Map of tomorrow (Karte von morgen) ecosystem

fairsync icon fairsync

A general Syncronisation Tool for kvm and other maps

glossaryofchange icon glossaryofchange

Issue-Management for the Glossar des Wandels / Glossary of change https://glossardeswandels.de/

insight-dashboard icon insight-dashboard

The Projects goal is to serve the owners of the entries in ofDB with additional statistics and insights of the user interests in their area https://github.com/orgs/kartevonmorgen/projects/25/views/1

kartevonmorgen icon kartevonmorgen

This is the Alpha version (v0) of Karte von morgen. Please contribute to our new project in TypeScript (v1) https://github.com/kartevonmorgen/kartevonmorgenssr

kartevonmorgen.ts icon kartevonmorgen.ts

Mapping-Frontend to find and add sustainable Organisations (Initiatives, Companies) and Events on Kartevonmorgen.org / MapofTomorrow.org

ofdb-seed icon ofdb-seed

A seed library for building Open Fair DB based web applications.

openfairdb icon openfairdb

Open Fair DB is the CreativCommons Backend of Kartevonmorgen.org

scrum icon scrum

Internal Boards and Issues for process and scrum oriented topics

wp-ess-event-calendar-client icon wp-ess-event-calendar-client

Transport events from your WordPress event calendar to an ESS-Feed. ESS-Feeds are like RSS-Feeds, but especially made for events.

wp-events-interface icon wp-events-interface

Convert the common used Events Calendars in Wordpress to a Standard Interface, which can be used by other Plugins, which want to deal with events in Wordpress

wp-kvm-api-for-places icon wp-kvm-api-for-places

WP Plugin von Kostbar Oldenburg, um Einträge aus wordpress in die Karte von morgen übertragen.

wp-kvm-interface icon wp-kvm-interface

This plugin is used to upload events and initiative(entries) to the Karte von Morgen.

wp-libraries icon wp-libraries

Extra Libraries for Wordpress used by the Events Interface

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.