Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
8b5fa7a
moving to docusaurus, working project, not finished yet
AmyrAhmady Feb 16, 2025
7255250
add sidebar label to all pages with available titles
AmyrAhmady Feb 16, 2025
55816e5
fix build, add make sidebar better and humanized
AmyrAhmady Feb 16, 2025
d3effb3
images, menu items, footer, landing page
AmyrAhmady Feb 17, 2025
4e820fb
Move relevant blog posts
edgyaf Feb 17, 2025
3c0df62
Add vehicle sync post
edgyaf Feb 17, 2025
d321637
Merge pull request #1 from edgyaf/master
AmyrAhmady Feb 17, 2025
3871d33
Blog post summaries, move irrelevant posts too
edgyaf Feb 17, 2025
6cc44e0
Merge pull request #2 from edgyaf/master
AmyrAhmady Feb 17, 2025
5a18515
better background
AmyrAhmady Feb 17, 2025
f68fbf1
changes in langing page features
AmyrAhmady Feb 17, 2025
4fd957f
remvoe extra page
AmyrAhmady Feb 18, 2025
e1d9e61
create toast component
AmyrAhmady Feb 18, 2025
a909e66
create servers page, not finished, needs data
AmyrAhmady Feb 18, 2025
dfff101
loading banner and server row components, finish server list
AmyrAhmady Feb 18, 2025
b044e05
last design fixes for server list and server card
AmyrAhmady Feb 18, 2025
e19d1dd
fix sorting when it's not by players, its all faaaastttt
AmyrAhmady Feb 18, 2025
f987562
add partners page
AmyrAhmady Feb 18, 2025
3b51173
dynamic routing for single server information
AmyrAhmady Feb 18, 2025
a3ff237
fix build
AmyrAhmady Feb 18, 2025
40e36c3
change font and favicon path, finish server info page
AmyrAhmady Feb 18, 2025
7a3513b
add forums button
AmyrAhmady Feb 18, 2025
1037c4b
footer links, add forums to navbar
AmyrAhmady Feb 18, 2025
b997d8d
docusaurus can't stop me, im a magician
AmyrAhmady Feb 18, 2025
baaae61
fix build
AmyrAhmady Feb 18, 2025
4da0741
get rid of our own docs indexer
AmyrAhmady Feb 19, 2025
cc54dde
use yarn
AmyrAhmady Feb 19, 2025
36c535c
use rspack instead of webpack for compiling faaaaaaast
AmyrAhmady Feb 19, 2025
4451805
modify frontend dockerfile
AmyrAhmady Feb 19, 2025
e2af193
re-enable dpot usage again
AmyrAhmady Feb 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:
access_token: ${{ github.token }}
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only --depot=false --config frontend.fly.toml
- run: flyctl deploy --remote-only --config frontend.fly.toml
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ ADD . .
# Install prisma client code generation tool and generate prisma bindings
RUN task generate

# Build the docs search index
RUN task docsindex

# Build the server binary
RUN task build

Expand Down
16 changes: 8 additions & 8 deletions Dockerfile.frontend
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
FROM node:16-alpine AS deps
FROM node:20-alpine AS deps
RUN apk add --no-cache libc6-compat git
WORKDIR /app
COPY frontend/package.json frontend/yarn.lock ./frontend/
RUN cd frontend && yarn install --frozen-lockfile

FROM node:16-alpine AS builder
FROM node:20-alpine AS builder
RUN apk add --no-cache git
WORKDIR /app
# Copy everything
COPY . .
COPY --from=deps /app/frontend/node_modules ./frontend/node_modules
RUN cd frontend && yarn build && yarn install --production --ignore-scripts --prefer-offline

# Production image, copy all the files and run next
FROM node:16-alpine AS runner
# Production image, copy all the files and run docusaurus
FROM node:20-alpine AS runner
WORKDIR /app

ENV NODE_ENV production

RUN addgroup -g 1001 -S nodejs
RUN adduser -S nextjs -u 1001
RUN adduser -S ompweb -u 1001

COPY --from=builder --chown=nextjs:nodejs /app/ .
COPY --from=builder --chown=ompweb:nodejs /app/ .
WORKDIR /app/frontend

USER nextjs
USER ompweb

EXPOSE 3000

CMD ["yarn", "start"]
CMD ["yarn", "serve"]
4 changes: 0 additions & 4 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ tasks:
# Also generate TypeScript type declarations from some backend structs.
- go run types.go

docsindex:
cmds:
- go run ./cmd/indexbuilder/main.go

migrate:
cmds:
- npx prisma migrate dev
Expand Down
307 changes: 0 additions & 307 deletions app/services/docsindex/docsindex.go

This file was deleted.

Loading