Skip to content

pyconpt/2022

Repository files navigation

PyCon Portugal 2022

🌍 2022.pycon.pt
📍 Hybrid from Porto, Portugal 🇵🇹
📅 September 24th

Built with Cookiecutter Django Black code style License: MIT

Running

Django Server

First, make sure to have all requirements installed using:

$ pip install -r requirements/[ local | production ].txt

And create a PostgreSQL database 'pycon_portugal_2022'

  • On Debian-based 10+:
$ sudo su - postgres -c "createdb pycon_portugal_2022"

Then start the server through gulp:

$ gulp
...
[Browsersync] Proxying: http://localhost:8000
[Browsersync] Access URLs:
 ---------------------------------------
       Local: http://localhost:3000
    External: http://10.101.176.121:3000
 ---------------------------------------
          UI: http://localhost:3001
 UI External: http://localhost:3001
 ---------------------------------------
[Browsersync] Watching files...

Docker Compose

First, make sure you have proper installation of Docker and Docker Compose.

Then, all need is build the container using the yaml file:

$ docker-compose -f local.yml build

And start the container:

$ docker-compose -f local.yml up
...
[Browsersync] Proxying: http://localhost:8000
[Browsersync] Access URLs:
 ---------------------------------------
       Local: http://localhost:3000
    External: http://XX.XXX.XXX.XXX:3000
 ---------------------------------------
          UI: http://localhost:3001
 UI External: http://localhost:3001
 ---------------------------------------
[Browsersync] Watching files...

Code of Conduct

As a contributor, you can help us keep the Python community open and inclusive. Please read and follow our Code of Conduct.

Getting Started

Get started contributing by reading our Contributing guidelines.

Built With

License

This project is licensed under the MIT License - see the LICENSE.md file for details.