Skip to content

starenka/pycon

 
 

Repository files navigation

PyCon CZ webpage

How to run on localhost

Prerequisites

For local development you only need to install Docker. Tested on version 23.0.2.

For Docker installation manuals check the following links:

  • Ubuntu - install Docker engine using the apt repository and add user to docker group as described here so you can run Docker locally as non-root user
  • Windows & Mac - you can use Docker Desktop, check out this manual for Windows and this for Mac

Setup

  1. Build an image
make build
  1. Run dev stack
make up
  1. You can stop the server by pressing Ctrl+C and removing containers afterwards
make down 

In case you want to access admin page, either Django or Wagtail ones, you need to create a superuser and log in with its credentials:

make create-user

The development server runs at the address http://0.0.0.0:8000/, team admin at http://0.0.0.0:8000/team/admin and Wagtail admin at http://0.0.0.0:8000/team/wagtail for the time being. Other apps will be added later.

About

PyCon CZ webpage

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 57.3%
  • Python 39.3%
  • Makefile 2.5%
  • Dockerfile 0.9%