deefactorial / openmoney-network

Openmoney Client for the Openmoney API
3 stars 2 forks source link

openmoney-network

This is the client side application that accesses the openmoney-api.

Public Instance

openmoney.network or net.openmoney.gift

Installation

git clone https://github.com/deefactorial/openmoney-network
cd openmoney-network
npm install

Build

sudo npm install -g grunt
grunt
#ctrl-c to exit

Local Hosting

You must have the openmoney-api installed and running on port 8080. Nginx is used to host the client code base and api end points on the same port(80) by using a reverse proxy of the port 8080 which is running the api.

sudo apt-get install nginx
sudo cp openmoney-network.nginx.conf /etc/nginx/sites-available/default
sudo gedit /etc/nginx/sites-available/default #modify the root path and the location / alias path to this repo path
sudo service nginx reload
google-chrome http://localhost

It is strongly recommended to setup ssl for nginx if you are hosting locally, Lets Encrypt is a free service to get SSL certificates.

License

Copyright [2016] [Dominique Legault]

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.