Git Product home page Git Product logo

pydaygalicia-2017's Introduction

PyDay Galicia 2017 Website

Web page made for PyDay Galicia 2017, developed with Django with ❤️.

Development

For development run this on your terminal into the project root folder:

    $ python3 -m venv .venv && \
        source .venv/bin/activate \
        bash ./run-local.sh

This will install all required dependencies and will start to serve on localhost:8000.

Deploy with Docker

To deploy using docker, first we've to create a .env file with the credentials of the database, secret key, etc.

    $ cp env.example .env

The available environment variables are:

  • POSTGRES_PASSWORD Postgres database password
  • POSTGRES_DB Postgres database name
  • DJANGO_SECRET_KEY Django secret key
  • DJANGO_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 server
  • DJANGO_EMAIL_HOST_USER User for SMTP server
  • DJANGO_EMAIL_HOST_PASSWORD Password for SMTP server
  • DJANGO_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.

    $ docker-compose up -d

pydaygalicia-2017's People

Contributors

alexhermida avatar marcosgabarda avatar ivannieto avatar punkto avatar migonzalvar avatar yamila-moreno avatar

Stargazers

Roman avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.