From a585735b653e52f47ef8475a0155c97ae073b880 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 26 Mar 2021 12:15:55 +0800 Subject: [PATCH] README: mention yesod devel for simple testing with sqlite --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index be3ca04..727b0d6 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ -stackage-server -=============== +# stackage-server ![Runtime image](https://github.com/fpco/stackage-server/workflows/Runtime%20image/badge.svg) @@ -16,6 +15,13 @@ Build locally by passing the `dev` flag to it: $ stack build . --flag stackage-server:dev ``` +## Simple testing with sqlite: +To test the UI without real data, just run: +``` +$ yesod devel +``` + +## Testing with postgresql Now, initially you need to run the cron job to create and populate the database: ``` shellsession