styx-static / styx

Static site generator in Nix expression language.
https://styx-static.github.io/styx-site/
MIT License
213 stars 25 forks source link

nothing works: neither building nor serving anything #56

Closed wucke13 closed 3 years ago

wucke13 commented 3 years ago

Preperation

$ 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

wucke13 commented 3 years ago

Basically this is a duplicate of https://github.com/styx-static/styx/issues/46 plus me being too stupid to read the manual. Sorry for the noise.