{"action":"opened","issue":{"url":"https://api.github.com/repos/picoCTF/picoCTF-Platform-2/issues/21","labels_url":"https://api.github.com/repos/picoCTF/picoCTF-Platform-2/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/picoCTF/picoCTF-Platform-2/issues/21/comments","events_url":"https://api.github.com/repos/picoCTF/picoCTF-Platform-2/issues/21/events","html_url":"https://github.com/picoCTF/picoCTF-Platform-2/issues/21","id":60537545,"number":21,"title":"Make the API Available System Wide","user":{"login":"cganas","id":5132014,"avatar_url":"https://avatars.githubusercontent.com/u/5132014?v=3","gravatar_id":"","url":"https://api.github.com/users/cganas","html_url":"https://github.com/cganas","followers_url":"https://api.github.com/users/cganas/followers","following_url":"https://api.github.com/users/cganas/following{/other_user}","gists_url":"https://api.github.com/users/cganas/gists{/gist_id}","starred_url":"https://api.github.com/users/cganas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cganas/subscriptions","organizations_url":"https://api.github.com/users/cganas/orgs","repos_url":"https://api.github.com/users/cganas/repos","events_url":"https://api.github.com/users/cganas/events{/privacy}","received_events_url":"https://api.github.com/users/cganas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-10T17:30:44Z","updated_at":"2015-03-10T17:30:44Z","closed_at":null,"body":"There are a few scripts that have to be in the /home/vagrant/api directory solely so they can run ```import api```. For example, `run_tests.sh`, `api_manager.py`.\r\n\r\nIt would be nice to package our API as a library such that it could be installed system wide. It should be simple enough to create a setup.py and make it pip compatible. In which case devploy would update the system package with the current code before starting the API. There is also the more flaky option of copying the module directly into `/usr/local/lib/python3.4/dist-packages/`.\r\n\r\nThen we could add these accessory scripts to the vagrant user's path and simplify the documentation."}}