Browse Source

Seed two basic accounts with make seed

feature/tags
Bèr Kessels 11 months ago
parent
commit
9308763055
2 changed files with 5 additions and 0 deletions
  1. 3
    0
      Makefile
  2. 2
    0
      test/fixtures/input/basic_users.jsonl

+ 3
- 0
Makefile View File

@@ -15,6 +15,9 @@ db:
make _wait
make _db-setup

seed:
cat test/fixtures/input/basic_users.jsonl | ./bin/sink

# CUSTOM BUILD RULES
test: export APP_ENV=test
test:

+ 2
- 0
test/fixtures/input/basic_users.jsonl View File

@@ -0,0 +1,2 @@
{ "bio": "Fought a snakey guy, now proud father and civil servant", "name": "Harry Potter", "email": "hpotter@example.org", "password": "12345678", "username": "hpotter" }
{ "bio":"In congue. Etiam justo. Etiam pretium iaculis justo.","name":"Ron Weasly","email":"ron@example.org", "password": "12345678", "username": "ron" }

Loading…
Cancel
Save