diff options
author | Joris | 2017-03-05 16:11:37 +0100 |
---|---|---|
committer | Joris | 2017-03-05 16:11:37 +0100 |
commit | ec1ebe1f97626b3e5779f38a5957976a9f808626 (patch) | |
tree | 29d43de5b9eef581503cc5b2480b45f517ba8873 | |
parent | cce4d47d6e5ecefae37ad125c07840dbe69939c3 (diff) |
Use webfs instead of python server
-rw-r--r-- | .tmuxinator.yml | 2 | ||||
-rw-r--r-- | README.md | 6 | ||||
-rwxr-xr-x | dev | 2 | ||||
-rw-r--r-- | shell.nix | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/.tmuxinator.yml b/.tmuxinator.yml index f9063a4..1ffa362 100644 --- a/.tmuxinator.yml +++ b/.tmuxinator.yml @@ -9,6 +9,6 @@ windows: - sbt - ~fastOptJS - server: - - (cd public; python -m http.server 9000) + - webfsd -F -r public -f index.html -p 9000 - cover: - cd public/cover @@ -12,13 +12,13 @@ Client: sbt "~fastOptJS" ``` -Server: +Launch a HTTP server on public directory, with python3 for example : ``` sh (cd public; python -m http.server 9000) ``` -Open your browser at http://localhost:9000/classes/index-dev.html +Open your browser at http://localhost:9000/ Build ----- @@ -36,7 +36,7 @@ Install nix and follow the instructions: curl https://nixos.org/nix/install | sh ``` -Dev environment: +Launch: ``` sh ./dev @@ -1,2 +1,2 @@ #!/bin/sh -nix-shell --command "SHELL=$SHELL tmuxinator local" +nix-shell --command "SHELL=$SHELL mux local" @@ -3,9 +3,9 @@ with import <nixpkgs> {}; { name = "env"; buildInputs = with pkgs; [ sbt - python3 tmux tmuxinator + webfs ]; }; } |