diff options
-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 ]; }; } |