Skip to content

Instantly share code, notes, and snippets.

View steveoni's full-sized avatar
🎯
Focusing

Stephen Oni steveoni

🎯
Focusing
View GitHub Profile
{resources: [
        {
            description: '',
            resourceId: 'e1c26bc8-1e49-43ab-bcf6-04f99199604e',
            url: '',
            format: 'Layer',
            title: 'Example title',
            type: 'layer',
            schema: [],
            layerObj: {
FROM alpine:3.13
# Internals, you probably don't need to change these
ENV APP_DIR=/srv/app
ENV SRC_DIR=/srv/app/src
ENV CKAN_INI=${APP_DIR}/ckan.ini
ENV PIP_SRC=${SRC_DIR}
ENV CKAN_STORAGE_PATH=/var/lib/ckan
ENV GIT_URL=https://github.com/ckan/ckan.git
# CKAN version to build
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

GIFT PORTAL CONFIGS

APP_GITHUB_KEY

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 (add a new one, this might have expired)

GITHUB_CLIENT_SECRET

1d04d497ec0f934f34828b4bd87918cae7a9079d
ckan-dev_1 | Traceback (most recent call last):
ckan-dev_1 | File "/usr/lib/python3.8/site-packages/flask/app.py", line 2446, in wsgi_app
ckan-dev_1 | response = self.full_dispatch_request()
ckan-dev_1 | File "/usr/lib/python3.8/site-packages/flask/app.py", line 1951, in full_dispatch_request
ckan-dev_1 | rv = self.handle_user_exception(e)
ckan-dev_1 | File "/usr/lib/python3.8/site-packages/flask/app.py", line 1821, in handle_user_exception
ckan-dev_1 | return handler(e)
ckan-dev_1 | File "/srv/app/src/ckan/ckan/config/middleware/flask_app.py", line 546, in error_handler
ckan-dev_1 | return base.render(u'error_document_template.html', extra_vars), 500
ckan-dev_1 | File "/srv/app/src/ckan/ckan/lib/base.py", line 151, in render
alabaster==0.7.12 \
--hash=sha256:446438bdcca0e05bd45ea2de1668c1d9b032e1a9154c2c259092d77031ddd359 \
--hash=sha256:a661d72d58e6ea8a57f7a86e37d86716863ee5e92788398526d58b26a4e4dc02
alembic==1.0.0 \
--hash=sha256:eb7db9b4510562ec37c91d00b00d95fde076c1030d3f661aea882eec532b3565 \
--hash=sha256:52d73b1d750f1414fa90c25a08da47b87de1e4ad883935718a8f36396e19e78e
appnope==0.1.2 \
--hash=sha256:93aa393e9d6c54c5cd570ccadd8edad61ea0c4b9ea7a01409020c9aa019eb442 \
--hash=sha256:dd83cd4b5b460958838f6eb3000c660b1f9caf2a5b1de4264e941512f603258a
babel==2.7.0 \
-e git+https://github.com/ckan/ckan.git@6731c5a821a6a5f4bdaa20f4e793e0b6ba44f823#egg=ckan
-e git+https://github.com/okfn/ckanext-contact.git@344c83d1a67c622eee319c94f74672a48e301ebe#egg=ckanext-contact
-e git+https://github.com/datopian/ckanext-datajson.git@16c99d59aad6698fcc9dae8964a1d89975181044#egg=ckanext-datajson
-e git+https://github.com/okfn/ckanext-envvars.git@8602376a92a77b4f2d41763b6823d041469fa08e#egg=ckanext-envvars
-e git+https://github.com/CivicActions/ckanext-ga-report.git@1de4e65a02d939dacc2a48069afd926603619490#egg=ckanext-ga-report
-e git+https://github.com/datopian/ckanext-googleanalytics.git@b3974528ade74787d98871ddec07dc898e9ff9e2#egg=ckanext-googleanalytics
-e git+https://github.com/ckan/ckanext-harvest.git@204b1f301a5cb21e459afca482c77f97e4ce3807#egg=ckanext-harvest
-e git+https://github.com/ckan/ckanext-pages.git@8b4a97787e14e37a2251ed18431ce33c216b39b0#egg=ckanext-pages
-e git+https://github.com/ckan/ckanext-showcase.git@9a1851c800caad3a7c511302daee179a6531a2d1#egg=ckanext-showcase
-e
[[package]]
category = "dev"
description = "A configurable sidebar-enabled Sphinx theme"
name = "alabaster"
optional = false
python-versions = "*"
version = "0.7.12"
[[package]]
category = "main"
[tool.poetry]
name = "docker-ckan-ed"
version = "0.1.0"
description = ""
authors = ["Your Name <you@example.com>"]
[tool.poetry.dependencies]
python = "^2.7"
ckan = {git = "https://github.com/ckan/ckan.git", tag = "ckan-2.9.4"}
@steveoni
steveoni / AMMI.sh
Last active January 24, 2021 20:57
## Exercise 1
## comand to display the partial content of the file
ls **/population.csv
## display the first line of the file
head -n 1 **/population.csv
## display the first 10 lineof the file