Skip to content

roxymc-net/website

Repository files navigation

RoxyMC Website

Compiling

Frontend

You can use gradle generate npm task:

./gradlew generate

or directly run:

cd frontend
npm run generate

Backend

Simply run:

./gradlew shadowJar

Dev Running

Frontend

Running frontend with auto-reload is simple, however, if you didn't already do this, you need to install all dependencies with postInstall task:

./gradlew postInstall

and then run:

cd frontend
npm run dev

Note

Any backend api calls won't work unless you run the backend.

Backend

First, you need to execute run task:

./gradlew run

and then launch auto-reload in a separate terminal:

./gradlew -t jar