Commit graph

92 commits

Author SHA1 Message Date
Joel Bradshaw
b4c6587972 Fix bw-dev resetdb, some tweaks to bw-dev
The main fix here is for resetdb, it previously was failing to drop the
db for me, because `web` was up and running and using the database. This
commit spins up db by itself first so it can drop and re-create the
database successfully, then brings up web to run the migrations.

While I was in here, I also updated it so that when running `bw-dev`
without any command it will also print the helptext, rather than just
exiting silently, got rid of the double-echo of the helptext, and added
runweb/rundb commands to run arbitrary commands via bw-dev.
2021-07-05 13:20:14 -07:00
Joachim
e251b687dc Merge remote-tracking branch 'upstream/main' into images-django-imagekit 2021-06-19 19:32:56 +02:00
Joachim
a1189b40b6 Fix bw-dev multiline output 2021-06-19 17:18:13 +02:00
Joachim
42b1aecb94 Merge remote-tracking branch 'upstream/main' into storage-s3 2021-06-19 17:12:07 +02:00
Joachim
d862be0564 Merge remote-tracking branch 'upstream/main' into storage-s3 2021-06-19 11:53:05 +02:00
Joachim
e309bb104f Fix command name in bw-dev error message 2021-06-19 11:18:03 +02:00
Mouse Reeve
5b6048e4c6 Merge branch 'main' into suggestions-redis 2021-06-18 16:48:04 -07:00
Mouse Reeve
973b23856c
Merge branch 'main' into opengraph-image-generation 2021-06-17 15:17:54 -07:00
Mouse Reeve
ef71da7ef0 Fixes interaction tests 2021-06-14 16:23:17 -07:00
Joachim
280be59c46 Refactor AWS command 2021-06-08 18:19:52 +02:00
Joachim
311042a59b Add S3 CORS command 2021-06-07 23:20:27 +02:00
Joachim
e904c202a9 Add command copy_media_to_s3 2021-06-07 21:40:37 +02:00
Joachim
d105ae9c78 Merge remote-tracking branch 'upstream/main' into images-django-imagekit 2021-06-07 19:53:11 +02:00
Mouse Reeve
7c2dc81501 Corrects variable name in locales 2021-06-06 13:58:41 -07:00
Joachim
61367c3f4f Protect generate_preview_images command
- add `--all` argument
- send computation intensive tasks to Celery
2021-05-28 17:25:20 +02:00
Mouse Reeve
b29ca22227 A couple test mocks 2021-05-27 17:29:24 -07:00
Joachim
65de40a95a Add generate_preview_images command 2021-05-26 13:52:10 +02:00
Joachim
77e81c4dbb Add django-imagekit to BookWyrm 2021-05-24 16:14:51 +02:00
Mouse Reeve
98e537280e Adds management command for populating suggestions 2021-05-22 16:10:11 -07:00
reese
e4b432246a replace venv3 with venv, makemessages for es, compilemessages for es 2021-04-22 16:28:57 -05:00
Mouse Reeve
514afdc12d Use run instead of exec for bw-dev web commands
The issue I had with this initially was the `clean` part, not the `run`
part
2021-04-07 09:02:39 -07:00
Mouse Reeve
c0f7cbc5f0 Consistent wording in bw-dev command 2021-04-02 11:20:56 -07:00
Mouse Reeve
87d1aa71a2 Adds populate streams to bw commands 2021-03-28 11:46:07 -07:00
Mouse Reeve
acbebbe947 Formats code changes 2021-03-08 10:10:30 -08:00
Mouse Reeve
99fa54d7bd
Merge pull request #630 from jimfingal/jim/makeitblack
Proof of concept adding `black` command
2021-03-08 07:09:24 -08:00
Jim Fingal
33cf03df74 Add black command to bw-dev 2021-03-07 19:43:36 -08:00
Mouse Reeve
821862a891 Updates bw-dev makemessages default flags 2021-03-02 11:51:49 -08:00
Mouse Reeve
1d206c3739 Fixes (hopefully) makemessages command 2021-03-01 09:55:54 -08:00
Mouse Reeve
4f76d21b85 Snags more strings for i18n 2021-02-27 18:48:10 -08:00
Mouse Reeve
27316678d5 Adds test german translations
with apologies to actual german speakers
2021-02-27 16:44:58 -08:00
Mouse Reeve
2d3767bce8 Adds makemessages command to bw-dev shortcuts 2021-02-27 13:47:10 -08:00
Joel Bradshaw
1e13997c5d Create an actual user, add missing file
Also allow `./bw-dev up -d`

I'm not sure why this was necessary, but it makes enough sense
2021-01-13 23:02:56 -08:00
Joel Bradshaw
48147883ce Merge branch 'main' into progress_update 2021-01-13 19:53:26 -08:00
Mouse Reeve
e6f6395143 don't show coverage report when tests fail 2021-01-04 10:08:23 -08:00
Mouse Reeve
da05b99bb8 Fixes incoming shelve activity 2020-12-15 18:57:17 -08:00
Joel Bradshaw
f86140c7e4 Move -x down to eliminate pointless noise 2020-11-27 17:39:15 -08:00
Joel Bradshaw
3b0b8f16f6 Merge migration branches
Also add $@ to bw-dev migrations, and factor the shift 1 out
2020-11-27 16:08:04 -08:00
Mouse Reeve
efa5d5ef2c Adds ci test runner 2020-11-27 11:42:25 -08:00
Mouse Reeve
ff5a0f7bc2 Adds alt text to status images 2020-11-24 11:44:13 -08:00
Joel Bradshaw
726842adef Merge branch 'main' into rename-app 2020-11-20 19:06:40 -08:00
Joel Bradshaw
f5f900a6e7 Figured out a way to give a nice error message
This way if we fail to parse old .env's folks should be able to figure
it out
2020-11-19 17:44:46 -08:00
Joel Bradshaw
e4f2625b02 Move fr-dev to bw-dev and alias it as fr-dev 2020-11-19 13:50:59 -08:00