$ sudo yum install python-pip
$ sudo apt-get install python-pip
Note: Python 2.7.9 and after includes pip by default.
$ curl https://bootstrap.pypa.io/ez_setup.py -o - | sudo python $ sudo easy_install pip
$ sudo pip install Flask
$ sudo pip install pymongo
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" $ brew install mongodb $ sudo mkdir -p /data/db $ sudo chmod 777 /data/db $ mongod
[mongodb-org-3.0] name=MongoDB Repository baseurl=http://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.0/x86_64/ gpgcheck=0 enabled=1
$ sudo yum install -y mongodb-org
$ sudo yum install -y mongodb-server
$ sudo apt-get install -y mongodb
$ brew install pkg-config libffi $ export PKG_CONFIG_PATH=/usr/local/[YOUR_USERNAME]/libffi/3.0.13/lib/pkgconfig/ $ sudo pip install bcrypt
$ sudo pip install bcrypt
$ sudo chkconfig mongod on $ sudo service mongod start
$ mongod
$ python web.py
> pip install virtualenv > pip install virtualenvwrapper-win
> mkvirtualenv koistudy2 > setprojectdir .
> pip install flask
> python web.py