Skip to content

Kodsport/ssm-wargame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSM wargame platform

Development setup

Install

Install:

DB

Run DB:

cd backend
docker compose up --build

Access it with:

cd backend
docker compose exec db psql -U postgres
docker compose exec db psql ssm_wargame -U postgres

First, connect with psql as shown above and create the database:

CREATE DATABASE ssm_wargame;

Then, run the migrations:

cd backend
./scripts/migrate up

Now you are ready to go!

Backend

Copy backend/.env.example to backend/.env and change it. The s3 stuff is outdated. See backend/internal/config/config.go for the full structure. Run backend:

cd backend
go run cmd/api/main.go

Frontend

Run frontend:

cd frontend
yarn # Installs
yarn dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published