Author: Haotian
Last Update: March 3, 2014
bootstrap
javascript
python
flask
jinja
mongodb
All assume MAC, PC please do the equivalent and ask me install Python (you should have by default)
haotians-mbp:~ Ted$ python
Python 2.7.5 (default, Sep 2 2013, 05:24:04)
make sure version is > 2.7, if not update
setup github and fork https://github.com/tedsunnyday/SE-Server
http://brew.sh/
goto shell and run
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
sudo easy_install pip
https://developers.google.com/appengine/downloads#Google_App_Engine_SDK_for_Python run the application, if cannot get started then try to cd to the SE-Server dir, and run below command
sudo pip install -r requirements.txt
you may need to sudo as well
brew update
brew install mongodb
and then start the MongoDB daemon by
mongod
and then in another terminal
mongo
you should now in the interactive shell, more info here http://docs.mongodb.org/manual/tutorial/getting-started/
please noted that even you are running the application locally, the current connection string is still pointing to the remote mongolab db, so, if you want to point the mongo db locally, find the db config code in main.py
and
comment out and comment the code, which has been commented so quite selfexplaintary, make sure you mongod first
yale.hout@gmail.com
yalese14
https://mongolab.com/databases/yalehout/collections/
yale.hout@gmail.com
qwe123
current 2 db
yalehout
yalehout_prod