$ cd $(mktemp -d)
$ styx new site my-site
$ cd my-site
styx serve
server listening on http://127.0.0.1:8080
press Ctrl+C to stop
/home/wucke13/.nix-profile/bin/styx: line 549: [ERROR]: command not found
styx build
Building the site...
cp: cannot stat '/nix/store/hwyyh29yrlc01vzw1ax1961vnqs6d954-styx-site/*': No such file or directory
chmod: cannot access '/tmp/tmp.BjgJ2Mi48v/my-site/public/*': No such file or directory
Generated site in '/tmp/tmp.BjgJ2Mi48v/my-site/public'
... and the folder public is empty
styx live
Started live preview on http://127.0.0.1:8080
Press q to quit
... but nothing is served on that port:
$ curl http://127.0.0.1:8080
curl: (7) Failed to connect to 127.0.0.1 port 8080: Connection refused
I mean I could go on about the rest of is, but as neither starting a local webserver nor building the actual site works, of course nothing else is usable.
About my system
system: "x86_64-linux"
host os: Linux 5.11.16, NixOS, 20.09.4021.2685792d396 (Nightingale)
Edit in all fairness: The master branch works. Still, neither the latest tagged release in this repo nor the latest version in nixos-unstable works. It should be made clear in the repo, that styx is enjoyed best as flake based of the master branch, and that the latest release is not working.
Preperation
styx serve
styx build
... and the folder public is empty
styx live
... but nothing is served on that port:
I mean I could go on about the rest of is, but as neither starting a local webserver nor building the actual site works, of course nothing else is usable.
About my system
"x86_64-linux"
Linux 5.11.16, NixOS, 20.09.4021.2685792d396 (Nightingale)
yes
yes
nix-env (Nix) 2.4pre20210326_dd77f71
"nixos-20.09.4021.2685792d396, nixos-unstable-21.05pre285574.8e4fe32876c"
""
nixpkgs:
/nix/var/nix/profiles/per-user/root/channels/nixos
Edit in all fairness: The master branch works. Still, neither the latest tagged release in this repo nor the latest version in
nixos-unstable
works. It should be made clear in the repo, that styx is enjoyed best as flake based of the master branch, and that the latest release is not working.