datopian / ckanext-blob-storage

CKAN extension to offload blob storage to cloud storage providers (S3, GCS, Azure etc).
http://tech.datopian.com/blob-storage/
MIT License
14 stars 6 forks source link

Integrate new resource editor into this app #25

Closed rufuspollock closed 4 years ago

rufuspollock commented 4 years ago

Integrate new resource editor created here https://github.com/datopian/datapub/issues/1

Acceptance criteria

Tasks

Analysis

Git submodule

  1. Create submodule in the root directory.
  2. Build bundles by cd ./datapub && yarn && yarn build
  3. Move bundles to fanstatic directory mv ./static/js/ ./ckanext/external-storage/fanstatic/js/datapub
  4. Keep hashes in the bundle names for version control. Every time a new bundle is built, we will need to update the template.

Do we need to use stylesheets? If yes, we can also move CSS files:

mv ./static/css/ ./ckanext/external-storage/fanstatic/css/datapub

Use pre built bundles

If we build and commit bundles in the DataPub repo, we can use them directly from Github (?):

  1. Bundle file is built at github.com/datopian/datapub/bundle.js - can't have hashes in file names here as it would break once changed.
  2. From CKAN template we import the module...
anuveyatsu commented 4 years ago

I've started a PR here #26

cc @rufuspollock