A generic social wallet UI which uses the social-wallet-api for a beckend
- A JDK. The software is tested on openJDK versions 7 and 8 as well as with oracleJDK 8 and 10. Make sure that the env var JAVA_HOME is set to the JDK install dir like mentioned here.
- MongoDB community edition. The software has been tested on Mongo v3.6.4. Earlier versions might not work due to loss of precision (Decimal128 was not introduced).
- leiningen which is used for dependency management like:
mkdir ~/bin wget https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein -O ~/bin/lein chmod +x ~/bin/lein
First of all check the configuration in
resources/social-wallet.yaml and adjust its contents to your
setup. Here a sample configuration:
Once correctly configured, from inside the social-wallet-api source directory one can use various commands to run it live (refreshing live changes to the code) using:
lein ring server(which will start and spawn a browser on it)
lein ring server-headless(will start without browser)
One can also use
lein uberjar to build a standalone jar application,
lein uberwar to build a standalone war application ready to be
served from enterprise infrastructure using JBoss or Tomcat.
Running the tests
To run all tests one need to run
on the project dir
This project is licensed under the AGPL 3 License - see the LICENSE file for details
Additional permission under GNU AGPL version 3 section 7.
If you modify social-wallet, or any covered work, by linking or combining it with any library (or a modified version of that library), containing parts covered by the terms of EPL v 1.0, the licensors of this Program grant you additional permission to convey the resulting work. Your modified version must prominently offer all users interacting with it remotely through a computer network (if your version supports such interaction) an opportunity to receive the Corresponding Source of your version by providing access to the Corresponding Source from a network server at no charge, through some standard or customary means of facilitating copying of software. Corresponding Source for a non-source form of such a combination shall include the source code for the parts of the libraries (dependencies) covered by the terms of EPL v 1.0 used as well as that of the covered work.