danvk / ssi-server

Server Side Includes in Python's SimpleHTTPServer
Apache License 2.0
41 stars 16 forks source link

It's probably not an issue with this, more likely an issue with me but ... #8

Open lloydi opened 2 years ago

lloydi commented 2 years ago

I followed the quick start guide, but last step did not work for me:

Last login: Thu Aug 4 21:30:12 on ttys000 me@mycomputer ~ % git clone https://github.com/danvk/ssi-server.git Cloning into 'ssi-server'... remote: Enumerating objects: 48, done. remote: Total 48 (delta 0), reused 0 (delta 0), pack-reused 48 Receiving objects: 100% (48/48), 11.58 KiB | 127.00 KiB/s, done. Resolving deltas: 100% (21/21), done. me@mycomputer ~ % cd ssi-server me@mycomputer ssi-server % ./ssi_server zsh: no such file or directory: ./ssi_server

I was running this on an M1 MacBook Air, and have installed Python 3. I can run the server, but cannot get it to process include files.

I tweeted here: https://twitter.com/lloydi/status/1555296947677847552?s=20&t=JL-uI1AihhLf--Rp4IobaQ

People referred me to this.

If you are able to help, I'd appreciate it. Thanks

danvk commented 2 years ago

It needs to be ./ssi_server.py, not ./ssi_server (the README is wrong). Give that a try, if it works then a PR to update the docs would be appreciated!