Skip to content

dajeo/knight

Repository files navigation

Knight

Chess Social Network, ui

Instruction

  1. Clone this repository.
git clone https://github.com/HeadcrabJ/knight.git
  1. Create project in Firebase.
  2. Click to Settings icon and choose Project settings.
  3. Click to tab Service accounts, choose Firebase Admin SDK and click button Generate new private key.
  4. Rename .env.example to .env and write to this file required data (Don't forget specify path to the Firebase Admin SDK file).

Build and run with Java

  1. Install OpenJDK 17.
apt install openjdk-17-jdk
  1. Build JAR.
./gradlew shadowJar
  1. Run JAR.
java -jar build/libs/knight.jar

Build and run with Docker

  1. Install Docker.
apt install docker
  1. Build image.
docker build -t knight .
  1. Run container.
docker run -d -p 8787:8787 knight

Developed by

orchst, HeadcrabJ

About

Deprecated backend for chess social network Knight (replaced by knight-nest)

Topics

Resources

License

Stars

Watchers

Forks