Django restframework + mongodb

Set up a new project

> startproject tutorial

>cd tutorial

#create a virtual env to isulate our package dependencies locally

>mkvirtualenv myenv

>source/ ‘env/bin/activate’   # if you look mkvirtualenv probably this step

>pip install django 

#check you are inside the virtualenv  (myenv)

pip install django

pip instll django-framework

#create a new app

python startapp quickstart

pip install django-nonrel

pip instal django-toolbox

pip install mongodb-engine

pip install django_mongodb_engine

para correr el proceso en servidor : sin que se caiga al arrancar 

 nohup python runserver ipserver:puerto &

Leave a Reply

Your email address will not be published.