Skip to content
This repository has been archived by the owner on May 28, 2022. It is now read-only.

Building the Webfrontend

Jens Klingenberg edited this page Jul 26, 2019 · 6 revisions

Run the client

Use ./gradlew -t web:webpack-run inside the Sheasy folder. The Client will be hosted at http://localhost:8080/#/

When the client is hosted at "localhost" all network calls will be redirected to the testingAddress, which is configured in ApiConfig.kt. Otherwise all calls will be send to the ip address where your server is running.

Deploy the WebClient into the app

Use the deployToAppAssets gradle task to build the client project and copy files directly into the assets folder of the app project

Use the serverPrepare task inside the web folder. This task will build the project and copy the files inside the deploy folder. Replace the files inside app/src/main/assets/web with the files of the deploy folder

Clone this wiki locally