Skip to content

Commit d8cfdab

Browse files
committed
Remove unused newrelic
1 parent 437c4db commit d8cfdab

File tree

5 files changed

+3
-11
lines changed

5 files changed

+3
-11
lines changed

Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,5 @@ ADD who.ini /who.ini
1515
ADD ckan.ini /ckan.ini
1616
ADD resource_formats.json /resource_formats.json
1717

18-
ADD newrelic.ini /newrelic.ini
19-
ENV NEW_RELIC_CONFIG_FILE=/newrelic.ini
2018

21-
CMD ["newrelic-admin", "run-program", "gunicorn", "--workers", "2", "--worker-class", "gevent", "--paste", "ckan.ini", "-t", "600", "--log-file", "-"]
19+
CMD ["gunicorn", "--workers", "2", "--worker-class", "gevent", "--paste", "ckan.ini", "-t", "600", "--log-file", "-"]

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,6 @@ dokku config:set ckan CKAN_SQLALCHEMY_URL=postgres://ckan_default:password@host/
118118
CKAN___CKANEXT__S3FILESTORE__HOST_NAME=http://s3-eu-west-1.amazonaws.com/treasury-data-portal \
119119
CKAN___CKANEXT__S3FILESTORE__REGION_NAME=eu-west-1 \
120120
CKAN___CKANEXT__S3FILESTORE__SIGNATURE_VERSION=s3v4 \
121-
NEW_RELIC_APP_NAME="Treasury CKAN" \
122-
NEW_RELIC_LICENSE_KEY=... \
123121
CKAN_DISCOURSE_URL= \
124122
CKAN_DISCOURSE_SSO_SECRET=
125123
```
@@ -334,9 +332,9 @@ cd ../treasury-ckan
334332
- create database
335333
- create a file `env.dev` in the project root, based on `env.tmpl` with DB and S3 bucket config
336334
- To help you avoid committing sensitive information in this file to git, env* is hidden by gitignore.
337-
335+
338336
Remove certain ckan plugins we don't strictly need in development mode. Edit `ckan.ini` and for the `plugins` entry, remove: s3filestore, discourse-sso-client, datastore and datapusher.
339-
337+
340338
Now start the containers and their services:
341339

342340
```

ckan.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ ckan.cors.origin_whitelist = https://localhost http://localhost:4000 https://ope
106106
ckan.plugins = stats
107107
text_view
108108
image_view
109-
s3filestore
110109
extractor
111110
discourse-sso-client
112111
satreasury-dataset

newrelic.ini

Lines changed: 0 additions & 2 deletions
This file was deleted.

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ Jinja2==2.8 # via flask
2222
Mako==1.0.4 # via pylons
2323
Markdown==2.6.7
2424
MarkupSafe==0.23 # via jinja2, mako, webhelpers
25-
newrelic==2.94.0.79
2625
nose==1.3.7 # via pylons
2726
ofs==0.4.2
2827
ordereddict==1.1

0 commit comments

Comments
 (0)