Same result... $ luarocks-admin refresh_cache --server=http://localhost:8000 Refreshing cache /Users/thijs/.cache/luarocks/http://localhost:8000...
Error: Failed downloading cache. $ luarocks-admin add --server=http://localhost:8000 ./version-1.0.1-2.src.rock Refreshing cache /Users/thijs/.cache/luarocks/http://localhost:8000... Error: Failed downloading cache. On 31 Jan 2019, at 14:32, Hisham Muhammad <[email protected]<mailto:[email protected]>> wrote: http:// is missing? :) On Thu, Jan 31, 2019, 13:55 Thijs Schreijer <[email protected]<mailto:[email protected]>> wrote: I did this to create the server, which seems to work: $ mkdir luarocks-server $ luarocks-admin make_manifest ./luarocks-server $ cd luarocks-server $ python -m SimpleHTTPServer 8000 Browsing to http://localhost:8000/ then works, but: $ luarocks-admin refresh_cache --server=localhost:8000 Refreshing cache /Users/thijs/.cache/luarocks/localhost:8000... Error: Failed downloading cache. $ luarocks-admin add --server=localhost:8000 ./version-1.0.1-2.src.rock Refreshing cache /Users/thijs/.cache/luarocks/localhost:8000... Error: Failed downloading cache. What am I doing wrong? Any help is appreciated thx. Thijs On 31 Jan 2019, at 12:25, Tomás Guisasola <[email protected]<mailto:[email protected]>> wrote: Hi Thijs I think it is very simple: (1) You have to set up your Web Server to allow access to the directory where the rocks will be stored; (2) copy the rocks to that directory and run luarocks-admin to set it up. Regards, Tomás Em qui, 31 de jan de 2019 às 08:38, Thijs Schreijer <[email protected]<mailto:[email protected]>> escreveu: I tried to find some info on running my own LuaRocks server, but failed. Any hints/advice how to go about it? Thx. Thijs _______________________________________________ Luarocks-developers mailing list [email protected]<mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/luarocks-developers _______________________________________________ Luarocks-developers mailing list [email protected]<mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/luarocks-developers _______________________________________________ Luarocks-developers mailing list [email protected]<mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/luarocks-developers _______________________________________________ Luarocks-developers mailing list [email protected]<mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/luarocks-developers
_______________________________________________ Luarocks-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/luarocks-developers
