Skip to content

Commit

Permalink
Updated setup guide
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLovesDoggo committed Mar 11, 2024
1 parent 8a41151 commit da1f855
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@ Installation instructions are currently a work in progress. Feel free to join [o

## Development Setup
1. Clone the repository
### Using Poetry (Recommended)
2. Run `pip install poetry`
3. Run `poetry install`
4. Run `poetry shell`
5. Create a file called config.py with the contents of [Docker Setup #2](#using-docker)
5. Run `python manage.py migrate && python manage.py createsuperuser`
6. To start the server, run `python manage.py runserver`

### Using Docker
2. Go to mCTF/docker_config.py, Set DEBUG to True and root to "http://localhost:28730" as well as deleting import config2.
3. docker build -t mctf .
4. docker run -p 28730:28730 mctf
Expand Down

0 comments on commit da1f855

Please sign in to comment.