aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.tmuxinator.yml2
-rw-r--r--README.md6
-rwxr-xr-xdev2
-rw-r--r--shell.nix2
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
diff --git a/README.md b/README.md
index 736eaf8..28de338 100644
--- a/README.md
+++ b/README.md
@@ -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
diff --git a/dev b/dev
index d268ec2..7334dfe 100755
--- a/dev
+++ b/dev
@@ -1,2 +1,2 @@
#!/bin/sh
-nix-shell --command "SHELL=$SHELL tmuxinator local"
+nix-shell --command "SHELL=$SHELL mux local"
diff --git a/shell.nix b/shell.nix
index 73eeaf6..f55834b 100644
--- a/shell.nix
+++ b/shell.nix
@@ -3,9 +3,9 @@ with import <nixpkgs> {}; {
name = "env";
buildInputs = with pkgs; [
sbt
- python3
tmux
tmuxinator
+ webfs
];
};
}