Skip to content

Commit a85a7df

Browse files
author
Joseph Atkins-Turkish
committed
Neatened stuff.
1 parent 93dc170 commit a85a7df

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"required": true
1616
},
1717
"BROKER_POOL_LIMIT": "1",
18-
"BUILDPACK_URL": "https://github.com/pebble/cloudpebble-buildpack#pipeline",
18+
"BUILDPACK_URL": "https://github.com/pebble/cloudpebble-buildpack.git#pipeline",
1919
"COMPLETION_CERTS": "/app/completion-certs.crt",
2020
"ENABLE_KEEN": "yes",
2121
"FROM_EMAIL": "[email protected]",

cloudpebble/settings.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,12 @@
1111
ADMINS = (
1212
('Administrator', '[email protected]'),
1313
)
14+
MANAGERS = ADMINS
1415

1516
DEFAULT_FROM_EMAIL = _environ.get('FROM_EMAIL', 'CloudPebble <[email protected]>')
1617

1718
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
1819

19-
MANAGERS = ADMINS
20-
2120
if 'DATABASE_URL' not in _environ:
2221
DATABASES = {
2322
'default': {
@@ -87,8 +86,6 @@
8786
# Examples: "http://example.com/media/", "http://media.example.com/"
8887
MEDIA_URL = _environ.get('MEDIA_URL', 'http://localhost:8001/builds/')
8988

90-
91-
9289
# Absolute path to the directory static files should be collected to.
9390
# Don't put anything in this directory yourself; store your static files
9491
# in apps' "static/" subdirectories and in STATICFILES_DIRS.
@@ -136,7 +133,6 @@
136133
# Make this unique, and don't share it with anybody.
137134
SECRET_KEY = _environ.get('SECRET_KEY', 'y_!-!-i!_txo$v5j(@c7m4uk^jyg)l4bf*0yqrztmax)l2027j')
138135

139-
140136
TEMPLATES = [
141137
{
142138
'BACKEND': 'django.template.backends.django.DjangoTemplates',
@@ -161,7 +157,6 @@
161157
if not DEBUG:
162158
STATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage'
163159

164-
165160
MIDDLEWARE_CLASSES = (
166161
'django.contrib.sessions.middleware.SessionMiddleware',
167162
'django.middleware.locale.LocaleMiddleware',
@@ -238,6 +233,7 @@
238233
'JS_COMPRESSOR': 'pipeline.compressors.uglifyjs.UglifyJSCompressor',
239234
'CSS_COMPRESSOR': 'pipeline.compressors.cssclean.CleanCSSCompressor',
240235
'CLEANCSS_BINARY': 'cleancss',
236+
'UGLIFYJS_BINARY': 'uglifyjs',
241237
'VERBOSE': True,
242238
'STYLESHEETS': {
243239
'codemirror': {
@@ -430,7 +426,6 @@
430426

431427
PHONE_SHORTURL = _environ.get('PHONE_SHORTURL', 'cpbl.io')
432428

433-
434429
# import local settings
435430
try:
436431
from settings_local import *

0 commit comments

Comments
 (0)