Skip to content

rfaga/tastypie-backbone-example

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
 
 
 
 
 
 
 
 

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