pyramid, module install
$ pip install pyramid Paste mongo
$ pip install pyramid_mongodb
Create a project with the name "mongo" Directory is created current
$ pcreate -s pyramid_mongodb mongo
setup Install related modules etc.
$ cd mongo
$ pip install -e .
Edit the following of [app: mongo] according to the environment
mongodb.url = mongodb://localhost mongodb.db_name = mydb
Start with pserve command (default_port 6543)
$ pserve development.ini
$ proutes development.ini
Recommended Posts