aboutsummaryrefslogtreecommitdiff
path: root/communities/red-right-hand/174bg.net/README.md
blob: 6fee992cbe49f5bd8213d554ce86a6cd62d2b28c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 174gb.net

The official website of the 174th Battle Group, also known as the Red Right Hand.

## Development

The website is built using [Next.js](https://nextjs.org/) and is deployed via [Docker](https://www.docker.com/).

### First Run

After starting the containers, apply the database migrations by piping each SQL file in `better-auth_migrations/` into the postgres container:

```sh
docker compose exec -T 174bg-net sh -c 'cat better-auth_migrations/*.sql' | docker compose exec -T postgres psql -U postgres -d postgres
```

> If your `.env` uses a different `POSTGRES_USER` or `POSTGRES_DB`, substitute those values for `postgres` above.