Skip to content

gregmuellegger/devcontainers-bakerydemo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

devcontainer + Wagtail demo project

This is a demonstration project for using devcontainers with a non-trivial project based on the Wagtail CMS.

📰 Read the post about this demo on my blog: Isolated python environments with devcontainers

Setup

To get started:

  1. Install docker
  2. Install Visual Studio Code and the devcontainer extension
  3. Checkout this repository: git clone https://github.com/gregmuellegger/devcontainers-bakerydemo.git
  4. Open the folder with VS Code: code ./devcontainers-bakerydemo

Once VS Code started, it will offer you to "Reopen in Container".

After building the images, you need to run the following commands for initial setup:

python manage.py migrate
python manage.py load_initial_data

Now you are ready to run the server. Either execute or python manage.py runserver in the commandline, or press F5 to run the server from within VS Code's debugger.

For more details see the blog post.

About

Showcasing devcontainers for development with the wagtail demo

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • Python 73.9%
  • HTML 14.2%
  • CSS 10.0%
  • Shell 0.8%
  • Dockerfile 0.7%
  • JavaScript 0.2%
  • Other 0.2%