[PYTHON] Pyramid + mongodb environment on Mac

install --project creation

pyramid, module install

$ pip install pyramid Paste mongo

Scaffold install for Pyramid, mongodb

$ pip install pyramid_mongodb

Create pyramid + mongodb project

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 .

Environmental setting

Editing development.ini

Edit the following of [app: mongo] according to the environment

mongodb.url = mongodb://localhost mongodb.db_name = mydb

Start-up

Start with pserve command (default_port 6543)

$ pserve development.ini

Other

Check routing

$ proutes development.ini 

Recommended Posts

Pyramid + mongodb environment on Mac
Building a Python environment on Mac
Anaconda environment construction on Mac (2018 version)
Create a Python environment on Mac (2017/4)
Python environment construction memo on Mac
Environment construction of python3.8 on mac
Django Crispy Tutorial (Environment Building on Mac)
Create a python environment on your Mac
I installed Kivy on a Mac environment
Build Python environment with Anaconda on Mac
python on mac
Put Python's numerical calculation environment Anaconda on mac (2)
Put Python's numerical calculation environment Anaconda on mac
Build a Python environment on Mac (Mountain Lion)
Building an environment for matplotlib + cartopy on Mac
Build a Python development environment on your Mac
Remove old pyenv environment on Mac and update
Install pyenv on mac
Install mongodb on termux
Pyenv + virtualenv on Mac
Anaconda-4.2.0-python3 environment construction (Mac)
Install Ansible on Mac
Install Python on Mac
Install Python 3 on Mac
numba installation on mac
Run OpenMVG on Mac
Install Python 3.4 on Mac
Install Caffe on Mac
Install mecab on mac
Mac environment construction Python
Install mecab-python on Mac
Try deepdream on Mac
Pyxel environment construction (Mac)
Install Python3 on Mac and build environment [Definitive Edition]
Build a Django development environment using pyenv-virtualenv on Mac
Install Python venv --VSCode --GitHub integration environment on Mac
Build a local development environment for Laravel6.X on Mac
Building an environment for "Tello_Video" on Mac OS X
Build a machine learning Python environment on Mac OS
Build a Python development environment on Mac OS X
Build a Python environment on your Mac using pyenv
Install Python environment on local PC (pyenv, venv on Mac)
Python environment construction on Mac (pyenv, virtualenv, anaconda, ipython notebook)
Build a machine learning environment on mac (pyenv, deeplearning, opencv)
Create a Python (pyenv / virtualenv) development environment on Mac (Homebrew)
Anaconda environment construction on CentOS7
Install pygame on python3.4 on mac
Building a Python environment on a Mac and using Jupyter lab
Prepare Chainer environment on Windows
Install module on Anaconda (Mac)
Install OpenPose on mac (Catalina)
Install numba on your Mac
Python environment construction For Mac
Build Python environment on Windows
Handling of python on mac
Update python on Mac to 3.7-> 3.8
Install pandas 0.14 on python3.4 [on Mac]
Build a python data analysis environment on Mac (El Capitan)
Launch local server on mac
Notes on installing Python on Mac
Django environment development on Windows 10