Skip to content

Commit a67b8a6

Browse files
committed
Update README.md
1 parent c1911e8 commit a67b8a6

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ The goal of this package is to generate arbitrary SQL Server databases (in the f
44

55
Contributers more than welcome (especially if you know enough Haskell to help me simplify the code!).
66

7+
# Usage
8+
79
# Build instructions
810

911
## Linux
@@ -29,3 +31,12 @@ This'll create a sandbox environment, download and install all the dependencies
2931

3032
x <- sample' (arbitrary :: Gen DatabaseDefinition)
3133

34+
# Usage
35+
36+
Assuming you're already building (if not see the instructions above) then
37+
38+
cabal run webserver
39+
40+
Should spin up a web server on port 8888. Fire up your web browser and try, for example, http://localhost/database/235235235?size=1 to generate a tiny example database. Play with the size parameter with caution, the whole response is in memory first so big numbers (say > 1000) are probably a bad idea.
41+
42+
Usage should be consistent, so going to the same URL should always generate the same value for testing purposes.

0 commit comments

Comments
 (0)