{"action":"opened","issue":{"url":"https://api.github.com/repos/Matthew-Hsu/PiPass/issues/15","labels_url":"https://api.github.com/repos/Matthew-Hsu/PiPass/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/Matthew-Hsu/PiPass/issues/15/comments","events_url":"https://api.github.com/repos/Matthew-Hsu/PiPass/issues/15/events","html_url":"https://github.com/Matthew-Hsu/PiPass/issues/15","id":72767837,"number":15,"title":"Configuration File","user":{"login":"Exor","id":192977,"avatar_url":"https://avatars.githubusercontent.com/u/192977?v=3","gravatar_id":"","url":"https://api.github.com/users/Exor","html_url":"https://github.com/Exor","followers_url":"https://api.github.com/users/Exor/followers","following_url":"https://api.github.com/users/Exor/following{/other_user}","gists_url":"https://api.github.com/users/Exor/gists{/gist_id}","starred_url":"https://api.github.com/users/Exor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Exor/subscriptions","organizations_url":"https://api.github.com/users/Exor/orgs","repos_url":"https://api.github.com/users/Exor/repos","events_url":"https://api.github.com/users/Exor/events{/privacy}","received_events_url":"https://api.github.com/users/Exor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-03T07:53:05Z","updated_at":"2015-05-03T07:53:05Z","closed_at":null,"body":"Now that we can update PiPass from the web interface, I would like to suggest adding a configuration file with paths. As it stands now, every time PiPass is updated, I need to go into the pipass.py file and update my folder paths. The update script also deletes the entire www directory structure. instead of just the path it is installed in. \r\n\r\nI use Nginx instead of Apache, so my www directory is at /usr/share/nginx/www rather than /var/www. I also use my Pi as a security camera with the root index.html pointing to my camera feed. I have pipass in its own folder under www. It would be awesome if PiPass kept track of the folders where it resides and doesn't touch other files."}}