For explaining the basic principle: See here
- Apache2 (nginx should also work)
- PHP>=7.0
- Java-Plattform >= 7.0
Duplicate config.sample.js
, rename to config.js
and fill in server address and port. This file will be used by both the client and the server.
- Install node.js and npm (comes with node)
- Install sass (css preprocessor)
- Globally install browserify:
npm install -g browserify
- execute
npm install
in thejs
directory - For compiling javascript:
browserify js/main.js -o js/bundle.js
- For compiling sass:
sass sass/frontend.scss css/style.css
- Install gradle build system (comes bundled with Intellij IDEA)
- Install kotlin platform
- For creating an executable fat jar:
./gradlew shadowJar