Skip to content

JakeBobAnderson/pyramid-dev-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purpose

This app was created as a simple hello world server to learn basic Pyramid file structure. After creation I extended it to demonstrate hot reloading docker development.

Usage

These commands will start the development server on localhost:6543.

  1. docker-compose build --no-cache
  2. docker-compose up -d

Now any changes to the source code in the app directory will trigger a reload of the API server. Run docker-compose down when you are ready to stop the server.

How it works

The docker-compose yaml definition mounts the app directory of this project as a volume of the docker container while the pserve command starts a listener on the app directory. When changes are detected, pserve will automatically stop and restart the server.

About

Demonstrates scaffolding for running a hot-reload python pyramid API in a dockerfile on your local machine.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages