Commit Graph

14 Commits

Author SHA1 Message Date
Bruno Alla
550f270b70
Relax rules for linting of pull requests on this template (#4273)
* Don't check for black or pre-commit by default

Fix #4261

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Ignore CONTRIBUTORS.md when running template's pre-commit

* Fix condition for skipping tests

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-04-15 13:21:18 +01:00
Bruno Alla
cbb0e19de7
Add Webpack support (#3623)
* Add support for Webpack as frontend pipeline

* Rename CI jobs

* Fix a couple of issues with Webpack + Docker

* Don't include Boostrap CSS from CDN with Webpack

* Rename variable

* Set publicPath in prod webpack config

* Fix removal of SASS files in post-gen hooks

* Add Webpack to readme usage section

* Run Django + Webpack dev server concurrently without Docker

* Fix async runserver command with Gulp/Webpack

* Upgrade django-webpack-loader to 1.5.0

* Pass variables required by Webpack at build time

* Upgrade django-webpack-loader to 1.7.0

* Add missing condition

* Add support for Azure Storage + Webpack

* Whitespaces

* Rename ROOT_DIR -> BASE_DIR

* Rename jobs

* Bump django-webpack-loader to latest

* Document limitation of Docker + Webpack + no Whitenoise

* Update section on custom Bootstrap compilation in generated readme
2023-01-29 12:12:12 +00:00
Bruno Alla
9e44a205c3 Double quote array expansions to avoid re-splitting elements.
If one argument includes spaces, the expansion will be wrong. Add double quotes to avoid that.

https://github.com/koalaman/shellcheck/wiki/SC2068
2022-01-04 17:48:21 +00:00
Bruno Alla
2adcf9f5d4
Build the HTML for the documentation as part of the CI (#3498) 2021-12-28 15:35:56 +00:00
Bruno Alla
d0d6ebd892
Simplify TEMPLATES settings with APP_DIRS=True (#3488) 2021-12-24 19:35:09 +00:00
Bruno Alla
2186caf11d
Speed up CI tests on macOS (#3480) 2021-12-22 08:14:00 +00:00
Bruno Alla
9f359939a9
Upgrade JS dependencies and upgrade to node 16 (#3400) 2021-11-16 20:29:43 +00:00
Bruno Alla
e08b17a234 Run pre-commit for linting in Docker 2021-04-07 20:57:04 +01:00
Bruno Alla
095a2a56af Run linting via pre-commit on CI 2021-04-07 20:57:04 +01:00
Bruno Alla
5ad419e322 Fixes for pip 20.3 2020-12-02 13:58:05 +00:00
Bruno Alla
f7bba44015 Print commands in bash script 2020-10-04 15:57:37 +01:00
Arnav Choudhury
b064e09f12
Adding GitHub-Action CI Option (#2837) 2020-09-21 11:20:24 +01:00
Bruno Alla
1645b8826d Use the pip resolver to avoid broken deps 2020-08-11 16:20:10 +01:00
Bruno Alla
aaf5d8d8f5 Run tests on bare metal
Install with Celery and compressor as it requires compilation

closes #1677
2019-06-18 21:02:37 +01:00