aboutsummaryrefslogtreecommitdiff
path: root/communities/174bg/174bg.net/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'communities/174bg/174bg.net/README.md')
-rw-r--r--communities/174bg/174bg.net/README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/communities/174bg/174bg.net/README.md b/communities/174bg/174bg.net/README.md
new file mode 100644
index 0000000..6fee992
--- /dev/null
+++ b/communities/174bg/174bg.net/README.md
@@ -0,0 +1,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.