Skip to content

ondrejkajinek/pyGrim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.