Skip to content

Tastypie and Backbone integration example (to use in PythonBrasil training course)

Notifications You must be signed in to change notification settings

rfaga/tastypie-backbone-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Construção de APIs com Django-Tastypie

Se tiver dúvidas, abra um ticket em http://github.com/rfaga/tastypie-backbone-example/issues

Instruções

(For English, see instructions below)

Este é um repositório criado para treinamento de Tastypie do PythonBrasil 2013. É necessário seguir alguns procedimentos para configurar o ambiente, descritos abaixo.

Se você tem uma distribuição Ubuntu/Debian, instale os pacotes abaixo (outras distribuições procurar pacotes equivalentes):

  sudo apt-get install -f python-dev python-pip git libjpeg8 libjpeg8-dev libfreetype6 libfreetype6-dev

Crie e ative um virtualenv (opcional, p/Linux):

virtualenv virtual
. virtual/bin/activate

Instale todas as dependências python:

pip install -r doc/requirements.txt

Opcionalmente também você pode instalar as dependências de JavaScript via bower (mas já estão todas inclusas neste projeto):

bower install bootstrap backbone backbone-tastypie backgrid

English instructions

Tastypie and Backbone integration example (to use in PythonBrasil training course)

Please clone this repo and run the following commands:

If you have Ubuntu/Debian distro, install the following packages (for other distros, search for the related packages, should have the same name)

  sudo apt-get install -f python-dev python-pip git libjpeg8 libjpeg8-dev libfreetype6 libfreetype6-dev

Create and activate a virtualenv (optional, to run on Linux):

virtualenv virtual
. virtual/bin/activate

Install all python dependencies:

pip install -r doc/requirements.txt

Optionally you can run bower dependencies to install JS (but it's already included in this structure):

bower install bootstrap backbone backbone-tastypie backgrid

About

Tastypie and Backbone integration example (to use in PythonBrasil training course)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages