fjelltopp / zarr-ckan

The Government of Zambia Ministry of Finance and National Planning project to establish a Zambia Evaluation and Research Repository (ZaRR) based on CKAN (funded by UNICEF).
0 stars 0 forks source link

compile SASS file and run watcher on pod initialization for dev #131

Closed A-Souhei closed 3 months ago

A-Souhei commented 3 months ago

Description

Closes https://github.com/fjelltopp/zarr-ckan/issues/130 Relates https://github.com/fjelltopp/ckanext-zarr/pull/5

The branch for ckanext-fjelltopp-theme is https://github.com/fjelltopp/ckanext-fjelltopp-theme/tree/WIP-refining-ckanext-fjelltopp-theme.

The branch for ckanext-zarr is https://github.com/fjelltopp/ckanext-zarr/tree/Update-zarr-to-work-unindependently-off-fjelltopp-branch

Checklist

Put an x in the boxes that apply to this pull request (you can also fill these out after opening the pull request). You may not need to check all boxes.

A-Souhei commented 3 months ago

I feel like you want to compile on production and watch on dev - not do both on both?

@ChasNelson1990 Unfortunately upon verifying, watch does not complile the files ie on CKAN start, they need to be compiled once. Could you advise ?

ChasNelson1990 commented 3 months ago

Unfortunately upon verifying, watch does not complile the files ie on CKAN start, they need to be compiled once. Could you advise ?

This is the answer to my question then! We should probably compile for prod/staging and watch+compile for dev?

A-Souhei commented 3 months ago

Unfortunately upon verifying, watch does not complile the files ie on CKAN start, they need to be compiled once. Could you advise ?

This is the answer to my question then! We should probably compile for prod/staging and watch+compile for dev?

@ChasNelson1990 I have updated the script based on your answer.