Skip to content

Commit

Permalink
Internally rename the app to Jarbas
Browse files Browse the repository at this point in the history
  • Loading branch information
cuducos committed Sep 6, 2016
1 parent ce27a40 commit 2ff33d5
Show file tree
Hide file tree
Showing 36 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion Procfile
@@ -1 +1 @@
web: gunicorn serenata.wsgi --log-file -
web: gunicorn jarbas.wsgi --log-file -
2 changes: 1 addition & 1 deletion contrib/.env.sample
@@ -1,4 +1,4 @@
SECRET_KEY=my-secret-de-amor
SECRET_KEY=jaa-aaa-ar-bas
DEBUG=False
ALLOWED_HOSTS=localhost,127.0.0.1

Expand Down
6 changes: 3 additions & 3 deletions elm-package.json
@@ -1,10 +1,10 @@
{
"version": "1.0.0",
"summary": "helpful summary of your project, less than 80 characters",
"repository": "https://github.com/user/project.git",
"summary": "Jarbas",
"repository": "https://github.com/datasciencebr/jarbas.git",
"license": "BSD3",
"source-directories": [
"serenata/frontend/static/elm/"
"jarbas/frontend/static/elm/"
],
"exposed-modules": [],
"dependencies": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Expand Up @@ -3,7 +3,7 @@
from django.shortcuts import resolve_url
from django.test import TestCase

from serenata.core.models import Document
from jarbas.core.models import Document


class TestGet(TestCase):
Expand Down
2 changes: 1 addition & 1 deletion serenata/api/urls.py → jarbas/api/urls.py
@@ -1,6 +1,6 @@
from django.conf.urls import url

from serenata.api.views import document
from jarbas.api.views import document

urlpatterns = [
url(r'^document/(?P<document_id>\d+)/$', document, name='document'),
Expand Down
2 changes: 1 addition & 1 deletion serenata/api/views.py → jarbas/api/views.py
Expand Up @@ -4,7 +4,7 @@
from django.http import JsonResponse, Http404
from django.shortcuts import get_object_or_404

from serenata.core.models import Document
from jarbas.core.models import Document


def document(request, document_id):
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion serenata/core/admin.py → jarbas/core/admin.py
@@ -1,6 +1,6 @@
from django.contrib import admin

from serenata.core.models import Document
from jarbas.core.models import Document


class DocumentModelAdmin(admin.ModelAdmin):
Expand Down
File renamed without changes.
File renamed without changes.
Expand Up @@ -6,7 +6,7 @@
from django.conf import settings
from django.core.management.base import BaseCommand

from serenata.core.models import Document
from jarbas.core.models import Document


class Command(BaseCommand):
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,5 +1,5 @@
from django.test import TestCase
from serenata.core.models import Document
from jarbas.core.models import Document


class TestCreate(TestCase):
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 7 additions & 7 deletions serenata/settings.py → jarbas/settings.py
@@ -1,5 +1,5 @@
"""
Django settings for serenata project.
Django settings for Jarbas project.
Generated by 'django-admin startproject' using Django 1.10.1.
Expand Down Expand Up @@ -41,9 +41,9 @@
'django.contrib.messages',
'django.contrib.staticfiles',
'django_assets',
'serenata.core',
'serenata.api',
'serenata.frontend',
'jarbas.core',
'jarbas.api',
'jarbas.frontend',
]

MIDDLEWARE = [
Expand All @@ -57,7 +57,7 @@
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]

ROOT_URLCONF = 'serenata.urls'
ROOT_URLCONF = 'jarbas.urls'

TEMPLATES = [
{
Expand All @@ -75,7 +75,7 @@
},
]

WSGI_APPLICATION = 'serenata.wsgi.application'
WSGI_APPLICATION = 'jarbas.wsgi.application'


# Database
Expand Down Expand Up @@ -129,7 +129,7 @@

# Django Assets

ASSETS_ROOT = os.path.join(BASE_DIR, 'serenata', 'frontend', 'static')
ASSETS_ROOT = os.path.join(BASE_DIR, 'jarbas', 'frontend', 'static')
LIBSASS_STYLE = 'compressed'

# Amazon S3 datasets
Expand Down
4 changes: 2 additions & 2 deletions serenata/urls.py → jarbas/urls.py
Expand Up @@ -16,10 +16,10 @@
from django.conf.urls import include, url
from django.contrib import admin

from serenata.frontend.views import home
from jarbas.frontend.views import home

urlpatterns = [
url(r'^$', home, name='home'),
url(r'^api/', include('serenata.api.urls', namespace='api')),
url(r'^api/', include('jarbas.api.urls', namespace='api')),
url(r'^admin/', admin.site.urls),
]
4 changes: 2 additions & 2 deletions serenata/wsgi.py → jarbas/wsgi.py
@@ -1,5 +1,5 @@
"""
WSGI config for serenata project.
WSGI config for Jarbas project.
It exposes the WSGI callable as a module-level variable named ``application``.
Expand All @@ -11,6 +11,6 @@

from django.core.wsgi import get_wsgi_application

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "serenata.settings")
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "jarbas.settings")

application = get_wsgi_application()
2 changes: 1 addition & 1 deletion manage.py
Expand Up @@ -3,7 +3,7 @@
import sys

if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "serenata.settings")
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "jarbas.settings")
try:
from django.core.management import execute_from_command_line
except ImportError:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -2,7 +2,7 @@
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/datasciencebr/serenata-de-amor.git"
"url": "git://github.com/datasciencebr/jarbas.git"
},
"scripts": {
"postinstall": "elm-package install --yes"
Expand Down

0 comments on commit 2ff33d5

Please sign in to comment.