Mozilla Moderator is a panel moderation webapp that enables users to view, vote and ask questions on different events.
Then panel moderators can export the questions and use them during panel discussions and Q&A.
All mozmoderator source files are made available under the terms of the GNU Affero General Public License (AGPL).
Use npm to install the necessary tools. If you use docker for development this step is not necessary.
npm -g install bower gulp-cli
Use bower to download all Frontend libraries.
bower install
Install all required packages.
npm install
Finally use gulp to check in all main static files and run the tests.
gulp
After cloning this repo, you need to create an .env file. Make a copy of .env-dist named .env.
cp .env-dist .env
Now docker compose from the root directory of the repo
docker compose up
Since this is Django, you will need to create a superuser for your dev work. Do this by attaching to the web container and running the command.
docker compose exec web bash
./manage.py createsuperuser
You should now be able to login at /admin/
This application is currently run through integration and deploy pipelines via both GitHub Actions & a background Kubernetes Flux setup leveraging Helm Charts.
Through those workflows, a Docker image is built, tagged, pushed to ECR, and deployed either to a staging (itse-apps-stage-1) or production (itse-apps-prod-1) Kubernetes cluster.
tl;dr: Push commits to main branch for a stage deploy, cut GitHub releases (following v1.2.3 format) for a production deploy.
^(stg-[a-f0-9]{7})$
:
^(v[0-9]+.[0-9]+.[0-9]+)$
);^(v[0-9]+.[0-9]+.[0-9]+)$
: