- Files are stored within the
- Files are processed with a Gulpfile into the
./csfg dev staticor
./csfg dev static_prod.
- Files are collected into the
./csfg dev collect_static.
Note that files under the
static/ folder are edited and the files under the
staticfiles/ folder are generated and should not be edited.
Every interactive and uninteractive has a generated thumbnail stored in
These can be created with
You will need to run the
./csfg collect_static command after for them to appear in the
Any modules used must be listed with a
package.json file within the directory, with the
package.json file listed in the
csfieldguide/package.json file (see examples already within this file).
If you wish to not apply optimisation steps (Browserify, minification, etc), then list the files within the
js_files_skip_optimisation constant within
Any files within the
csfieldguide/static/js/modules/ directory are skipped by the Gulpfile and not processed by themselves.
If NPM modules are added, modified, or deleted, the Docker images will need to be rebuilt using
./csfg dev build.