A Streamlit-based web application for managing the West Kingdom's officer roster (regnum) and Google Groups. This application is now publicly accessible without authentication requirements.
- Public Access: No login required for new duty form
- Officer Management: View and manage the current officer roster
- Group Management: Manage Google Groups and memberships
- Email Integration: Send duty request emails and notifications
- Responsive Design: Works on desktop and mobile devices
- Frontend: Streamlit web application
- API: RESTful backend for data management
- Deployment: Google Cloud Run with Docker containers
-
Clone Repository:
git clone <repository-url> cd regnum-front
-
Install Dependencies:
pip install -r requirements.txt
-
Run Application:
./run_local_dev.sh
The application will be available at http://localhost:8501 with full functionality.
For local development, you can modify these in run_local_dev.sh:
# API settings
export REGNUM_API_URL="https://regnum-api-njxuammdla-uw.a.run.app"
export BASE_URL="http://localhost:8501"-
Build and Deploy:
gcloud builds submit --config cloudbuild.yaml
-
Environment Variables (set in cloudbuild.yaml):
REGNUM_API_URL=https://regnum-api-njxuammdla-uw.a.run.app BASE_URL=https://wkregnum-njxuammdla-uw.a.run.app STREAMLIT_ENV=production
The deployed application will be publicly accessible at the Cloud Run URL.
- Regnum Viewer: Browse the current officer roster
- Search: Find officers by title or branch
- Reports: Generate basic and advanced reports
- Group Management: Manage Google Groups and memberships
- Officer Management: Add/edit officer information
- Duty Requests: Submit duty request forms
-
"No groups found":
- Check API connectivity to regnum-api service
- Verify the API service is running
-
"Failed to fetch members":
- Verify API service is running
- Check Cloud Run logs for detailed errors
- Ensure group ID exists and is accessible
- View Logs:
gcloud logs read --service=regnum-front --limit=50
- Authentication: Uses JWT authentification
- API Security: Backend API should implement its own security measures
- Test changes locally first with
./run_local_dev.sh - Update documentation for any configuration changes
- Test deployment with
gcloud builds submit
For technical issues, contact:
- Technical Issues: webminister@westkingdom.org
- Feature Requests: webminister@westkingdom.org