GitHub - pythonitalia/pycon
PyCon Italia website
The monorepo for the new PyCon Italia website, based on Django, Strawberry, Next.js and React.
How to setup
Use our local docker-compose setup to start all services you need.
After cloning the project, you can run:
to start the services.
You will find the services at the following ports:
| Service name | Address |
|---|---|
| Backend | http://localhost:8000/admin - http://localhost:8000/cms-admin |
| Frontend | http://localhost:3000 |
Everything you need to get started is already configured and will work out of the box.
If you need to work with our Stripe or Pretix integration, you will have to ask on Slack which secret key you need and why you need it.
Once given, create a .env file at the project root with inside:
STRIPE_PUBLIC_KEY=
PRETIX_API_TOKEN=
STRIPE_WEBHOOK_SIGNATURE_SECRET=
STRIPE_SECRET_API_KEY=
Adding the secret keys after the = symbol.
Enabling Django Debug Toolbar
To enable the Django Debug Toolbar, set the ENABLE_DJANGO_DEBUG_TOOLBAR variable to true in your .env file:
ENABLE_DJANGO_DEBUG_TOOLBAR=true
External repos
Repos used by this project are in separate repositories.
| Name | Description | Link |
|---|---|---|
| Pretix Extended API | Pretix plugin to expose more APIs | https://github.com/pythonitalia/pretix-plugin-extended-api |
| Pretix Attendance certificate | Pretix plugin to generate and send Attendance certificates | https://github.com/pythonitalia/pretix-plugin-attendance-certificate |