mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-22 16:16:39 +00:00
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
This commit is contained in:
parent
48147883ce
commit
1e13997c5d
3 changed files with 18 additions and 2 deletions
14
bookwyrm/migrations/0036_merge_20210114_0348.py
Normal file
14
bookwyrm/migrations/0036_merge_20210114_0348.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
# Generated by Django 3.0.7 on 2021-01-14 03:48
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('bookwyrm', '0015_auto_20201128_0734'),
|
||||
('bookwyrm', '0035_edition_edition_rank'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
]
|
|
@ -19,7 +19,9 @@ class ReadThrough(TestCase):
|
|||
self.work.default_edition = self.edition
|
||||
self.work.save()
|
||||
|
||||
self.user = models.User.objects.create()
|
||||
self.user = models.User.objects.create_user(
|
||||
'cinco', 'cinco@example.com', 'seissiete',
|
||||
local=True, localname='cinco')
|
||||
|
||||
self.client.force_login(self.user)
|
||||
|
||||
|
|
2
bw-dev
2
bw-dev
|
@ -43,7 +43,7 @@ set -x
|
|||
|
||||
case "$CMD" in
|
||||
up)
|
||||
docker-compose up --build
|
||||
docker-compose up --build "$@"
|
||||
;;
|
||||
run)
|
||||
docker-compose run --rm --service-ports web
|
||||
|
|
Loading…
Reference in a new issue