Tables and charts on Reproductive Health & Family Planning (RHFP) sourced from OECD & IATI
You will need to change all '2020' only in utils/constants.js to the new year during update. You will also need to adjust parts of the wagtail but these should be clear.
npm start
This starts the dev environment, compiling the javascript and css. Changes to JS & CSS files trigger a page refresh in the browser
npm run build
Build files are copied into the dist
folder. It is from these files that the contents of the assets folder are updated
To update the assets, copy the contents of the relevant files from the dist folder (app.*.js
, app.*.css
, runtime.*.js
) into their
respective destinations in the assets folder
gulp
This copies the required assets from the generated dist folder to the assets folder