Web page made for PyConES 2020, made with Django with ❤️.
make up
For more help use make
.
$ cp docker-compose.yml.production_template docker-compose.yml
The available environment variables are:
DJANGO_SECRET_KEY
Django secret keyDJANGO_SETTINGS_MODULE
Django settings module (eg.config.settings.production
)DATABASE_URL
Url to connect to the database (eg.config.settings.production
)DJANGO_ALLOWED_HOSTS
Host names allowed, separated by commas (eg.localhost,2017.es.pycon.org
))DJANGO_EMAIL_HOST
Host for SMTP serverDJANGO_EMAIL_HOST_USER
User for SMTP serverDJANGO_EMAIL_HOST_PASSWORD
Password for SMTP serverDJANGO_EMAIL_PORT
Port for SMTP server
The default values are ready to run the containers in a development machine using production configuration. Then, we've have to use Docker Compose to bring it up.
$ ./deploy/deploy.sh
We use an external server deployment to manage the production environment. The deployment is automated with Travis:
https://travis-ci.org/python-spain/web-pycones
Some configuration can be enabled/dissabled on the options admin page:
- `activate_about_us`: 1/0 About us page
- `activate_schedule`: 1/0 Schedule page
- `activate_job_board`: 1/0 Job board
- `activate_hotels`: 1/0 Hotels page
- `activate_blog`: 1/0 Blog page
- `tshirts_page_activated`: 1/0 Tshirst page
- `activated_tickets_sale_page`: 1/0 Tickets option
- `info_available`: 1/0 availability of the information page
- `schedule_opened`: 1/0 Determines if the schedule is open or not