Source code for 42ctf.org
Go to file
Starthur c1c82ff9e0 Merge pull request 'new_logo' (#52) from new_logo into main
Reviewed-on: 42CTF/website#52
2022-05-27 14:57:20 +02:00
src Resize image 2022-05-27 14:55:57 +02:00
.gitignore local settings 2021-09-06 20:14:23 +02:00
.gitmodules put challenges descriptions outside of the db 2022-02-15 18:13:43 +01:00
README.md Update README 2022-02-16 14:33:21 +01:00
requirements.txt Update 'requirements.txt' 2022-02-16 13:53:57 +01:00

README.md

42CTF

42CTF is a CTF platform created by School 42 students and open to anyone.

Todo

TODO has been migrated to issues !
And hopefully, it is not redirected anymore to /dev/null.

How to contribute ?

First, you need to contact a 42CTF admin to get an account on the 42CTF gitea.
You can contact us on discord or by email.
You can also fill this form and we'll contact you.
Then, once you have a gitea account, you can fork this repository, do some stuff, and open a pull request.

If you want to translate the platform, then have a look at the wiki.

If you want to help with bot development, it has now its own repository

How to set up my dev environment ?

There is only one file missing on this repository for you to run the server: local_settings.py.
You should create one in the src directory, with the following content:

DEBUG = True
SECRET_KEY = 'what you want'

When you'll run python manage.py migrate then python manage.py runserver, an empty database will be automatically created.
The local_settings.py is in the .gitignore and should stay that way, so we don't accidentally overwrite the production file when we deploy.

To obtain administrator rights you can run python manage.py createsuperuser.