Commit Graph

29 Commits

Author SHA1 Message Date
Jake Howard 17969086a4
Add alias for root shell 2024-04-07 15:52:40 +01:00
Jake Howard bbf7411f50
Run everything as non-root 2024-01-14 12:59:31 +00:00
Jake Howard 8ce25dcf2d
Use s6 to run everything in a single container 2024-01-13 21:43:10 +00:00
Jake Howard c3aea8f176
Use nvm to install Node rather than deprecated nodesource scripts 2023-10-27 17:37:58 +01:00
Jake Howard 29bd939ae4
Replace flake8 and isort with ruff 2023-07-15 15:10:05 +01:00
Jake Howard c2d467c15e
Coverage is tests too 2022-10-24 20:45:07 +01:00
Jake Howard 549a48769d
Swap curlylint and djhtml with djlint 2022-10-05 14:17:00 +01:00
Jake Howard 8f66feeaa5
Remove test 404 and 500 paths outside dev 2022-10-02 19:25:36 +01:00
Jake Howard 190a680902
Add just command to stop project 2022-09-14 09:08:04 +01:00
Jake Howard e0998c7ed8
Use `find` for HTML files not `git ls-files`
The problem with `ls-files` is that it doesn't work when files are
renamed unless you `git add` beforehand.
2022-08-20 14:22:59 +01:00
Jake Howard 9f2b2a81c9
Add coverage reports 2022-08-17 19:09:07 +01:00
Jake Howard a818106f75
Install node deps during build
The project dir is mounted in, so they're not available from the
container
2022-08-03 21:54:03 +01:00
Jake Howard 512f9cd3b9
Add djhtml 2022-08-03 20:37:34 +01:00
Jake Howard e096dd8cf5
Install curlylint 2022-08-03 20:34:18 +01:00
Jake Howard 639f5885a4
Ensure containers are running before shelling into them 2022-07-29 15:48:43 +01:00
Jake Howard 8a55275db7
Add alias to exec into web container 2022-07-29 09:02:09 +01:00
Jake Howard 856079c118
Don't explicitly list python directories
This means as others are added, they'll be automatically linted
2022-07-29 08:46:44 +01:00
Jake Howard b5391bc918
Change install command to do docker build 2022-07-28 18:21:19 +01:00
Jake Howard 97d786e969
Move development into docker
This makes working with related services like redis much easier, and
helps start writing a production container
2022-07-28 14:42:12 +01:00
Jake Howard 310de1acf8
Add RQ 2022-07-13 08:21:06 +01:00
Jake Howard 4e8826fd2f
Show error codes when running mypy 2022-07-10 18:39:06 +01:00
Jake Howard 5a90a9963f
Disable python buffering 2022-06-30 21:27:30 +01:00
Jake Howard 90038c3a50
Install node deps during local setup 2022-06-14 19:14:25 +01:00
Jake Howard b521163007
Add prettier to format frontend 2022-06-12 19:35:06 +01:00
Jake Howard e2d5101a56
Add linting 2022-06-12 15:24:17 +01:00
Jake Howard b997350283
Disable the need for collectstatic during local dev 2022-06-12 14:52:48 +01:00
Jake Howard 2c1cc3e411
Collect static before
Run as a separate job, and then tests split out into 2
2022-06-10 17:15:13 +01:00
Jake Howard d17b0af9f6
Add tests for unique body classes 2022-06-10 16:22:20 +01:00
Jake Howard 56112a9655
Add honcho and just 2022-06-09 22:20:40 +01:00