Skip to content

Instantly share code, notes, and snippets.

@thiagovsk
Created February 3, 2015 13:38
Show Gist options
  • Save thiagovsk/f05086ba6572401e38c6 to your computer and use it in GitHub Desktop.
Save thiagovsk/f05086ba6572401e38c6 to your computer and use it in GitHub Desktop.
Colab dia 03 de fevereiro
- ativar o plugin do track
vim /etc/colab/settings.yml
PROXIED_APPS:
# gitlab:
# upstream: 'http://localhost:8090/gitlab/'
# private_token: ''
trac:
upstream: 'http://localhost:5000/trac/'
- criar um database p/ track
trac:
ENGINE: django.db.backends.postgresql_psycopg2
HOST: localhost
NAME: trac
USER: colab
PASSWORD: colab
- criar a migração ( criar banco no postgre remover as migrações do trac e regerar)
from django.utils.translation import ugettext_lazy as _
class Meta:
verbose_name = _('Attachment')
verbose_name_plural = _('Attachment')
colab-admin makemigrations trac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment