NodeJS >= 8.5 (8.X LTS may work aswell)
MySQL >= 5.6 in traditional mode with InnoDB support
change .env vars within .env
install Core-Application
git clone https://github.com/hftlclub/payment-core
cd payment-core
npm install
install Database Tables (will ask for confirmation)
node ./install/reinstall.js
core-server can be started by
npm run start
change SMPT-Data and E-Mail-Settings within file email.js
Important:
- the target core-server needs to be shut down when running tests
- it is required to set the NODE_ENV to 'development' (within the .env file)
testing can be started by using the command
npm run test
for debugging support, execute testrunner directly
cd tests
node ./runTests.js