Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 707 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 707 Bytes

PyGrim - another lightweight Python 2 web app framework

Dependencies

  • Python 2
  • uwsgi with yaml support
  • PyYAML
  • dateutils

Example

First, change paths in pygrim.yaml to the ones you are really using.

Second, make sure at least one of your pythonpath in your yaml config points to the directory where PyGrim is sitting, or move PyGrim to a place where Python will find it.

Start the server with

uwsgi --yaml <path-to-yaml-file>

If you get error telling no app loaded, add the following line to uwsgi section of your yaml config:

plugin: python27

How do I...?

You can either:

or

  • Use the Source, look.