|Peter J. Jones 1af1cfd076 Add Docker image config and README info||5 months ago|
|images||5 months ago|
|src||5 months ago|
|www||5 months ago|
|.envrc||5 months ago|
|.gitignore||5 months ago|
|CHANGELOG.md||5 months ago|
|LICENSE||5 months ago|
|README.md||5 months ago|
|Setup.hs||5 months ago|
|default.nix||5 months ago|
|docker.nix||5 months ago|
|shell.nix||5 months ago|
|zxcvbn-ws.cabal||5 months ago|
|zxcvbn-ws.nix||5 months ago|
To play with this demo you need to:
If you have Docker installed, using the Docker image is super simple:
$ docker run -p 127.0.0.1:12345:12345/tcp sthenauth/zxcvbn-ws
That will download the image and start the web server. Now just play with it at http://localhost:12345/.
If you have an existing Haskell toolchain installed then you can use
cabal install. Otherwise keep reading.
Install Nix which is pretty simple and straight forward.
Open a new terminal and run the following command in the directory containing this file:
Wait for everything to build.
Start the web server:
$ zxcvbn_ws_datadir=$(pwd) ./result/bin/zxcvbn-ws
You can change the port that
zxcvbn-ws uses by setting the
ZXCVBN_PORT environment variable.