Created
February 3, 2015 13:38
-
-
Save thiagovsk/f05086ba6572401e38c6 to your computer and use it in GitHub Desktop.
Colab dia 03 de fevereiro
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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