Skip to content

python-spain/PyConES-2018

Repository files navigation

PyConES 2018 Web

Web page made for PyConES 2018, made in Django with ❤️.

Deploy with Docker

  1. Create a .env file with required environment variables.
$ cp web.env.example web.env
  1. Run docker services:
$ docker-compose up

Local development

  1. Create a virtualenv:
$ virtualenv --python=python3 pycones18
  1. Activate it:
$ source pycones18/bin/activate
  1. Install dependencies:
$ pip install -r requirements.txt
  1. Set the secret key:
$ export SECRET_KEY=<YOUR_SUPER_SECRET_KEY_HERE>
  1. Create the database:
$ python manage.py migrate
  1. Launch the development server:
$ python manage.py runserver
  1. Visit the url http://127.0.0.1:8000/