Inspired by mean stack, here is a python based stack, with tornado as a server.
This stack aims to achieve the following
- Document/JSON based database - Mongodb
- REST server - Tornado
- Single page web framework - Angular
- ~ Mobile solution - ionicsframework
The project is in a preliminary stage - any suggestion and contribution are welcomed.
http://mongodb-tornado-angular.readthedocs.org/en/latest/
Simply because I much more comfortable with python for server development.
if you do not have python installed and access to a mongodb database please refer to install software later
linux/mac
Python3.x
- git clone https://github.com/davidvoler/mongodb-tornado-angular.git
- cd mongodb-tornado-angular
- which python3
- virtualenv --distribute -p YOUR_PYTHON3_PATH .
- source bin/activate
- pip install -r requirements.txt
- cd server
- python app.py
Python2.x
- git clone https://github.com/davidvoler/mongodb-tornado-angular.git
- cd mongodb-tornado-angular
- virtualenv .
- source bin/activate
- pip install -r requirements.txt
- cd server
- python app.py
Windows
With Pycharm(Python2.x)
- git clone https://github.com/davidvoler/mongodb-tornado-angular.git
- cd mongodb-tornado-angular
- activate mongodb
- python app.py
If you do not have access to a mongodb database you may install a local mongodb.
installation instructions on all platforms can be found here:
http://docs.mongodb.org/manual/installation/
If you are working on Windows or Mac - you will have to remember to start mongodb before running
On linux mongodb is installed as a service by default.
I have decided to start with python3.x however python2.6 should work as well.
python installation instruction can be found here:
https://www.python.org/download
Bower & npm are used to install javascript package we do not do any node developments