Skip to content

ourconomy/ourconomy

Repository files navigation

Hey, this is ourconomy!

ourconomy.org brings you the stuff you need and lets you shape your world for the better. You can see how sustainable products and services are and evaluate them yourself. You can also enter products/services to show their positive achievements.

This web application that supports consumers and producers by connecting them to relevant information and to each other. It allows us to build the economy in a way that is good for us.

The frontend is based on the seminal project Karte von morgen. Departing from but staying close to this codebase, it is dedicated to the development of the products/services functionalities.

products and companies in the result list

Development

Technically, the start of this fork was to replicate virtually everything that exists in the codebase for 'entries' also to 'products'. The ResultList component and its items could be reused.

Products and services are currently called products.

Backend

The special backend for this version of the map is openFXDB.

Dependencies

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

Now clone this repository:

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

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

cd ourconomy/
npm install

Build

To build the web application run:

npm run pack

The result can be found in dist/.

If you like Nix OS, please go to Karte von morgen where Markus has some useful information for you.

Local development setup

Go to openFXDB and follow the instructions for getting the sources and compilation.

When the database is listening on port 6767 of your host you were successful. Now,

cd /path/to/kartevonmorgen/
npm start

The web app is now listening on port 8080. Open it in your browser http://localhost:8080.

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

Tests

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

npm t

License

Copyright (c) 2015 - 2018 Markus Kohlhase, David Ziegler, Oliver Sendelbach

This project is licensed under the AGPLv3 license.