Re: [Luarocks-developers] Running a LuaRocks server

2019-01-31 Thread Thijs Schreijer
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

Re: [Luarocks-developers] Running a LuaRocks server

2019-01-31 Thread Hisham Muhammad
http:// is missing? :) On Thu, Jan 31, 2019, 13:55 Thijs Schreijer 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://local

Re: [Luarocks-developers] Running a LuaRocks server

2019-01-31 Thread Thijs Schreijer
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 Refresh

Re: [Luarocks-developers] Running a LuaRocks server

2019-01-31 Thread Tomás Guisasola
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 escreveu: > >

[Luarocks-developers] Running a LuaRocks server

2019-01-31 Thread Thijs Schreijer
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 Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luaroc