Id da Cultura - Provider OpenID para o Ministério da Cultura
Python CSS
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
iddacultura
.gitignore
LICENSE
README.md
dependencies.txt
manage.py

README.md

ID da Cultura Provider

ID da Cultura - Provider OpenID para o Ministério da Cultura

Desenvolvido com Django (https://www.djangoproject.com/) e a biblioteca python-openid (https://github.com/openid/python-openid).

Ambiente de desenvolvimento

  • sudo apt-get install python-setuptools python-virtualenv libmysqlclient-dev python-dev
  • cd ~/devel
  • mkdir ~/devel/iddacultura-provider-env
  • virtualenv ~/devel/iddacultura-provider-env
  • git clone git@git.hacklab.com.br:iddacultura-provider
  • source iddacultura-provider-env/bin/activate
  • cd iddacultura-provider
  • easy_install -U distribute
  • pip install -r dependencies.txt
  • mysqladmin create iddacultura-provider
  • cp iddacultura/settings_local.py.sample iddacultura/settings_local.py
  • ./manage.py syncdb
  • ./manage.py runserver

Como usar

  • source ~/devel/iddacultura-provider-env/bin/activate
  • cd ~/devel/iddacultura-provider
  • ./manage.py runserver
  • Abrir no browser http://localhost:8000