mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-11 19:58:28 +01:00
README: mention yesod devel for simple testing with sqlite
This commit is contained in:
parent
070cbc6bf2
commit
a585735b65
10
README.md
10
README.md
@ -1,5 +1,4 @@
|
||||
stackage-server
|
||||
===============
|
||||
# stackage-server
|
||||
|
||||

|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user