sailorproject / sailor

A Lua MVC Web Framework.
MIT License
924 stars 124 forks source link

docs: add Xavante package to dev environment #104

Closed luisbg closed 8 years ago

luisbg commented 8 years ago

Following the example developer environment setup will return the following error when trying to start the server: lua: test/dev-app/start-server.lua:1: module 'xavante' not found

We don't want the first experience to be an error, so make it clear the web server needs to be installed as well.

luisbg commented 8 years ago

A case of making the first steps developing with/for Sailor a breeze and fun without errors :)

Etiene commented 8 years ago

Interesting! The xavante should be there. After you clone the repository and do luarocks install rockspecs/sailor-current-1.rockspec, it should install the dependencies... I double checked and xavante is listed in the rockspec... Hmm... Could you double check if this rockspec was installed?

luisbg commented 8 years ago

I just tried from a clean environment doing all the steps and indeed the rockspec installed all the required dependencies. I must have done something wrong the first time.

Sorry for the wrong PR. On the bright side I just learned about rockspecs and how they work.

Now with a working environment fresh from the oven I can start playing with Sailor! Fun :smiley:

Closing the PR.

Etiene commented 8 years ago

Awesome! Great news! 👯