S
S
Sergey_Cherebedov2015-06-08 20:42:59
Nginx
Sergey_Cherebedov, 2015-06-08 20:42:59

How to create a new lapis project?

Hi all. My problem is that the command "lapis new --lua" does not create files for the project, "lapis help" also does not output anything. Worth Open Resty 1.7.10.1 and LuaJIT 2.0.4.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0Boo, 2016-05-08
@0Boo

Maybe you just don't have it installed?
You can install it like this:
Or

$ wget http://luarocks.org/releases/luarocks-2.3.0.tar.gz
$ tar zxpf luarocks-2.3.0.tar.gz
$ cd luarocks-2.3.0
$ ./configure; sudo make bootstrap
$ sudo luarocks install luasocket
$ lua

This is a package manager for Lua, then you can install lapis like this - luarocks install lapis
Then you can already try lapis new --lua
PS: I think the author has already figured it out, but suddenly it will come in handy for someone.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question