{"action":"created","issue":{"url":"https://api.github.com/repos/Fizzadar/Luapress/issues/49","repository_url":"https://api.github.com/repos/Fizzadar/Luapress","labels_url":"https://api.github.com/repos/Fizzadar/Luapress/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/Fizzadar/Luapress/issues/49/comments","events_url":"https://api.github.com/repos/Fizzadar/Luapress/issues/49/events","html_url":"https://github.com/Fizzadar/Luapress/issues/49","id":175680671,"number":49,"title":"How to run local development version of luapress","user":{"login":"paragasu","id":27353,"avatar_url":"https://avatars.githubusercontent.com/u/27353?v=3","gravatar_id":"","url":"https://api.github.com/users/paragasu","html_url":"https://github.com/paragasu","followers_url":"https://api.github.com/users/paragasu/followers","following_url":"https://api.github.com/users/paragasu/following{/other_user}","gists_url":"https://api.github.com/users/paragasu/gists{/gist_id}","starred_url":"https://api.github.com/users/paragasu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paragasu/subscriptions","organizations_url":"https://api.github.com/users/paragasu/orgs","repos_url":"https://api.github.com/users/paragasu/repos","events_url":"https://api.github.com/users/paragasu/events{/privacy}","received_events_url":"https://api.github.com/users/paragasu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-08T07:08:02Z","updated_at":"2016-09-08T09:12:22Z","closed_at":null,"body":"Hi fizzadar, i would like to contribute to luapress.How do you run a local development version of luapress. I come across this issue when i try to run the script file bin/luapress directly from terminal.\r\n\r\n```\r\n/usr/bin/lua5.1: /home/myhomedir/luapress/luapress/luapress.lua:14: module 'luapress.config' not found:No LuaRocks module found for luapress.config\r\n        no field package.preload['luapress.config']\r\n        no file '/root/.luarocks/share/lua/5.1/luapress/config.lua'\r\n        no file '/root/.luarocks/share/lua/5.1/luapress/config/init.lua'\r\n        no file '/usr/local/share/lua/5.1/luapress/config.lua'\r\n        no file '/usr/local/share/lua/5.1/luapress/config/init.lua'\r\n        no file './luapress/config.lua'\r\n        no file '/usr/local/lib/lua/5.1/luapress/config.lua'\r\n        no file '/usr/local/lib/lua/5.1/luapress/config/init.lua'\r\n        no file '/usr/share/lua/5.1/luapress/config.lua'\r\n        no file '/usr/share/lua/5.1/luapress/config/init.lua'\r\n        no file '/home/paragasu/.luarocks/share/lua/5.1/luapress/config.lua'\r\n        no file '/home/paragasu/.luarocks/share/lua/5.1/luapress/config/init.lua'\r\n        no file '/root/.luarocks/lib/lua/5.1/luapress/config.so'\r\n        no file '/usr/local/lib/lua/5.1/luapress/config.so'\r\n        no file './luapress/config.so'\r\n        no file '/usr/lib/x86_64-linux-gnu/lua/5.1/luapress/config.so'\r\n        no file '/usr/lib/lua/5.1/luapress/config.so'\r\n        no file '/usr/local/lib/lua/5.1/loadall.so'\r\n        no file '/home/paragasu/.luarocks/lib/lua/5.1/luapress/config.so'\r\n        no file '/root/.luarocks/lib/lua/5.1/luapress.so'\r\n        no file '/usr/local/lib/lua/5.1/luapress.so'\r\n        no file './luapress.so'\r\n        no file '/usr/lib/x86_64-linux-gnu/lua/5.1/luapress.so'\r\n        no file '/usr/lib/lua/5.1/luapress.so'\r\n        no file '/usr/local/lib/lua/5.1/loadall.so'\r\n        no file '/home/myhomedir/.luarocks/lib/lua/5.1/luapress.so'\r\nstack traceback:\r\n        [C]: in function 'require'\r\n        /home/myhomedir/luapress/luapress/luapress.lua:14: in main chunk\r\n        [C]: ?\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/Fizzadar/Luapress/issues/comments/245539548","html_url":"https://github.com/Fizzadar/Luapress/issues/49#issuecomment-245539548","issue_url":"https://api.github.com/repos/Fizzadar/Luapress/issues/49","id":245539548,"user":{"login":"Fizzadar","id":1026154,"avatar_url":"https://avatars.githubusercontent.com/u/1026154?v=3","gravatar_id":"","url":"https://api.github.com/users/Fizzadar","html_url":"https://github.com/Fizzadar","followers_url":"https://api.github.com/users/Fizzadar/followers","following_url":"https://api.github.com/users/Fizzadar/following{/other_user}","gists_url":"https://api.github.com/users/Fizzadar/gists{/gist_id}","starred_url":"https://api.github.com/users/Fizzadar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fizzadar/subscriptions","organizations_url":"https://api.github.com/users/Fizzadar/orgs","repos_url":"https://api.github.com/users/Fizzadar/repos","events_url":"https://api.github.com/users/Fizzadar/events{/privacy}","received_events_url":"https://api.github.com/users/Fizzadar/received_events","type":"User","site_admin":false},"created_at":"2016-09-08T09:12:22Z","updated_at":"2016-09-08T09:12:22Z","body":"@paragasu you need to install the package locally with Luarocks, which should just be a case of running `luarocks make` in the root directory and then running `luapress` as normal :)\r\n\r\nEvery time you make changes you have to re-run `luarocks make` - I have yet to find a way to run a true \"dev\" version like pip's `-e` :/"}}
{"actor":{"display_login":"Fizzadar"}}