/cloudcoins

Backend and frontend application for the service cloudcoins.ch

Primary LanguageJavaApache License 2.0Apache-2.0

cloudcoins

Build Status

This is the frontend and backend application for the website cloudcoins.ch.

The project is in a very early stage, so this is work in progress.

development

Preparing projects

  1. Fork and clone repo
  2. Import into IntelliJ
  3. Run maven task install on projects cloudcoins-frontend cloudcoins-backend

Setting up local application server

  1. Download WildFly 10.1.0-Final and extract content
  2. Copy files to local WildFly. You can use the script: copy-files-to-jboss.sh
    1. Usage: ./copy-files-to-jboss.sh /absolute/installation/path/wildfly-10.1.0.Final
  3. Add JBoss server in IntelliJ
    1. On top right dropdown -> edit configurations
    2. Add a new one with +
    3. Choose local JBoss
    4. Specify JBoss directory
    5. In deployment tab, add artifacts with +, choose exploded versions

start local database

docker run -d \
 -e POSTGRESQL_USER=cloudcoins \
 -e POSTGRESQL_PASSWORD=cloudcoins \
 -e POSTGRESQL_DATABASE=cloudcoins \
 -p 5436:5432 \
 --restart always \
 --name cloudcoins_postgres \
 centos/postgresql-95-centos7

import test data OTP key

Scan the following QR code with your 2FA App to get OTP passwords for the test account:

[QR Code]