Skip to content

platformsh-templates/pyramid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pyramid for Platform.sh

Deploy on Platform.sh

This template builds Pyramid on Platform.sh. It includes a minimalist application skeleton that demonstrates how to connect to a MariaDB server for data storage and Redis for caching. It is intended for you to use as a starting point and modify for your own needs.

Pyramid is a web framework written in Python.

Features

  • Python 3.8
  • MariaDB 10.4
  • Redis 5.0
  • Automatic TLS certificates
  • Pipfile-based build

Post-installation

The app.py file includes example controllers that demonstrate accessing services within the application. Feel free to replace them with your own code as appropriate.

Customizations

The following changes have been made relative to Pyramid as it is downloaded from the Pyramid website. If using this project as a reference for your own existing project, replicate the changes below to your project.

  • The .platform.app.yaml, .platform/services.yaml, and .platform/routes.yaml files have been added. These provide Platform.sh-specific configuration and are present in all projects on Platform.sh. You may customize them as you see fit.

References

About

Pyramid template for Platform.sh.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages