Chess Social Network, ui
- Clone this repository.
git clone https://github.com/HeadcrabJ/knight.git
- Create project in Firebase.
- Click to Settings icon and choose
Project settings
. - Click to tab
Service accounts
, chooseFirebase Admin SDK
and click buttonGenerate new private key
. - Rename
.env.example
to.env
and write to this file required data (Don't forget specify path to the Firebase Admin SDK file).
- Install OpenJDK 17.
apt install openjdk-17-jdk
- Build JAR.
./gradlew shadowJar
- Run JAR.
java -jar build/libs/knight.jar
- Install Docker.
apt install docker
- Build image.
docker build -t knight .
- Run container.
docker run -d -p 8787:8787 knight