Skip to content

Commit

Permalink
Merge pull request #505 from smithellis/update-readme
Browse files Browse the repository at this point in the history
Add docker developer section to README
  • Loading branch information
akatsoulas authored Sep 3, 2024
2 parents ae5445d + 4385661 commit 6213f18
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,23 @@ Finally use [gulp](http://gulpjs.com/) to check in all main static files and run

gulp

## Development with Docker

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/

## CI & CD

This application is currently run through integration and deploy pipelines via both [GitHub Actions](https://github.com/mozilla/mozmoderator/actions/workflows/ci.yaml) & a background Kubernetes [Flux](https://fluxcd.io/) setup leveraging [Helm Charts](github.com/mozilla-it/helm-charts/).
Expand Down

0 comments on commit 6213f18

Please sign in to comment.