Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
9124aad
add required
jerrf010 Jul 28, 2026
8bac367
add typescript
jerrf010 Jul 28, 2026
6e61068
fix some packages
jerrf010 Jul 28, 2026
9013684
Update next.config.mjs
jerrf010 Jul 28, 2026
7e6b7ee
Delete deploy.yml
jerrf010 Jul 28, 2026
0543004
Create deploy.yml
jerrf010 Jul 28, 2026
d4d6365
add some structure for danplus
jerrf010 Jul 28, 2026
3c671ae
Merge branch 'alpha' of https://github.com/RGSS-CS/documentation into…
jerrf010 Jul 28, 2026
e5addcc
fix vulnerabilities
jerrf010 Aug 5, 2026
2167ee7
Delete static/.nojekyll
jerrf010 Aug 9, 2026
7d21e17
Create nginx.conf
jerrf010 Aug 9, 2026
15d63d9
Add AIO_compose.yml for multi-container setup
jerrf010 Aug 9, 2026
ff3457a
Create env.txt
jerrf010 Aug 9, 2026
cae9533
Update AIO_compose.yml
jerrf010 Aug 10, 2026
6b8dd59
Update nginx.conf
jerrf010 Aug 10, 2026
9248b45
Update backend image to use 'latest' tag
jerrf010 Aug 10, 2026
698cbbc
Update next.js and node.js & react type definitions
DanPlus6 Aug 10, 2026
464714f
Added version lock for bun
DanPlus6 Aug 10, 2026
bdf9200
Update env.txt
jerrf010 Aug 11, 2026
e357e2a
Update README.md
jerrf010 Aug 22, 2026
1325a0f
Add CAP environment configuration
jerrf010 Aug 29, 2026
6c747c0
Add CAP and Valkey services
jerrf010 Aug 29, 2026
80fe180
Update install scripts for all-in-one deployment
jerrf010 Aug 29, 2026
36550f6
Fix installer Compose validation setup
jerrf010 Aug 29, 2026
6ccd762
Improve installer hash diagnostics
jerrf010 Aug 29, 2026
4aa5bf5
Correct pinned Nginx asset hash
jerrf010 Aug 29, 2026
10a658d
Smoke-test all installer services
jerrf010 Aug 29, 2026
645eb74
Clarify CAP frontend build-time configuration
jerrf010 Aug 29, 2026
f6c2395
Update installer backend image and generated environment
jerrf010 Aug 29, 2026
ed015bb
Isolate CAP and Valkey on dedicated network
jerrf010 Aug 29, 2026
8ec7bf4
Update runtime environment configuration
jerrf010 Aug 30, 2026
3a403b2
Fix CAP smoke-test configuration
jerrf010 Aug 30, 2026
5dc153a
Potential fix for pull request finding 'CodeQL / Workflow does not co…
jerrf010 Sep 15, 2026
43173da
Merge main into alpha and use alpha application images
jerrf010 Sep 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 98 additions & 0 deletions .github/workflows/test-installers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
name: Test installers

on:
push:
branches:
- alpha
paths:
- "static/InstScripts/**"
- ".github/workflows/test-installers.yml"
pull_request:
paths:
- "static/InstScripts/**"
- ".github/workflows/test-installers.yml"

permissions:
contents: read

jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Check Bash syntax
run: bash -n static/InstScripts/install.sh

- name: Validate environment contract
run: |
grep -Fq "# CONFIGURABLE SETTINGS" static/InstScripts/env.txt
grep -Fq "# NON-CONFIGURABLE / AUTO-GENERATED SETTINGS" static/InstScripts/env.txt
grep -Fq "PUBLIC_MEDIA_BASE_URL=" static/InstScripts/env.txt
grep -Fq "CAPTCHA_URL=" static/InstScripts/env.txt
grep -Fq "REVALIDATE_URL=http://frontend:3000/console/revalidate" static/InstScripts/env.txt
! grep -Eq "^(FRONTEND_REVALIDATE_URL|NEXT_PUBLIC_CAPTCHA_URL)=" static/InstScripts/env.txt
grep -Fq "for example: dev.rgsscs.org" static/InstScripts/env.txt
grep -Fq "for example: https://dev.rgsscs.org" static/InstScripts/env.txt

- name: Validate all-in-one Compose file
run: |
cp static/InstScripts/env.txt static/InstScripts/.env
docker compose --env-file static/InstScripts/.env -f static/InstScripts/AIO_compose.yml config --quiet

- name: Confirm installer asset hashes
working-directory: static/InstScripts
run: |
compose_hash="$(sha256sum AIO_compose.yml | cut -d' ' -f1)"
nginx_hash="$(sha256sum nginx.conf | cut -d' ' -f1)"
echo "Compose SHA-256: $compose_hash"
echo "Nginx SHA-256: $nginx_hash"
grep -Fq "$compose_hash" install.sh
grep -Fq "$nginx_hash" install.sh
grep -Fq "$compose_hash" install.ps1
grep -Fq "$nginx_hash" install.ps1

- name: Start and smoke-test the application stack
working-directory: static/InstScripts
timeout-minutes: 10
run: |
cat >> .env <<'EOF'
SECRET_KEY=ci-secret-key-not-for-production
SIGNING_KEY=ci-signing-key-not-for-production
REVALIDATE_SECRET=ci-revalidate-secret
ADMIN_KEY=ci-admin-key
DJANGO_SUPERUSER_PASSWORD=ci-superuser-password
POSTGRES_DB=db
POSTGRES_USER=db
POSTGRES_PASSWORD=ci-postgres-password
EOF
docker network create internetwork
docker compose -f AIO_compose.yml up -d --wait
docker compose -f AIO_compose.yml ps
curl --fail --retry 10 --retry-delay 3 http://localhost/
curl --fail --retry 10 --retry-delay 3 http://localhost:3001/

- name: Stop smoke-test stack
if: always()
working-directory: static/InstScripts
run: docker compose -f AIO_compose.yml down --volumes

windows:
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
runs-on: windows-latest
steps:
- uses: actions/checkout@v4

- name: Check PowerShell syntax
shell: powershell
run: |
$tokens = $null
$errors = $null
[System.Management.Automation.Language.Parser]::ParseFile(
(Resolve-Path "static/InstScripts/install.ps1"),
[ref]$tokens,
[ref]$errors
) | Out-Null
if ($errors.Count -gt 0) {
$errors | Format-List | Out-String | Write-Error
exit 1
}
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
File renamed without changes.
5 changes: 5 additions & 0 deletions app/STUCO_site/backend/page.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: Backend
sidebarTitle: Backend
asIndexPage: true
---
5 changes: 5 additions & 0 deletions app/STUCO_site/frontend/page.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: Frontend
sidebarTitle: Frontend
asIndexPage: true
---
25 changes: 23 additions & 2 deletions app/_meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,26 @@ export default {
title: 'Home',
type: 'page',
display: 'hidden'
}
}
},

Projects: {
title: 'Projects',
type: 'page'
},

STUCO_site: {
title: 'Student Council Docs',
type: 'menu',
items: {
frontend: {
title: 'Frontend',
href: '/STUCO_site/frontend'
},

backend: {
title: "Backend",
href: "/STUCO_site/backend",
}
}
},
}
9 changes: 2 additions & 7 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,10 @@ import { Banner, Head } from 'nextra/components'
import { getPageMap } from 'nextra/page-map'
import 'nextra-theme-docs/style.css'

export const metadata = {
// Define your metadata here
// For more information on metadata API, see: https://nextjs.org/docs/app/building-your-application/optimizing/metadata
}

const banner = <Banner storageKey="some-key">Nextra 4.0 is released 🎉</Banner>
const banner = <Banner storageKey="alpha-0.1">RGSSCS ORG - DOCS | NEW VERSION!! 🎉</Banner>
const navbar = (
<Navbar
logo={<b>Nextra</b>}
logo={<b>RGSSCS DOCS</b>}
// ... Your additional navbar options
/>
)
Expand Down
3 changes: 1 addition & 2 deletions app/page.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{/* app/page.mdx */}
# Welcome
# RGSSCS Org Documentation

This is the RGSS-CS documentation site.
Loading
Loading