- Frontend
- React
- Preact
- Backend
- Express
- MongoDB
- Windows
- Linux
- portal:
- Method 1
- clone from both directory, need to pull both submodules
git clone --recurse-submodules https://github.com/UIUC-Go/Baduk-Online.git
- clone from both directory, need to pull both submodules
- Method 2
-
build docker
docker build . -t baduk
-
pull from dockerhub
docker pull xiaohei99/baduk:latest
-
run docker image
docker run --publish 3000:3000 baduk
-
- Docker page https://hub.docker.com/repository/docker/xiaohei99/baduk
sh git-update-submodules.sh </path/to/base/repo> <BRANCH_NAME>
- need to install gcloud first
gcloud beta compute ssh --zone "us-central1-a" "baduk-1" --project "weighty-works-296118"