{"action":"opened","issue":{"url":"https://api.github.com/repos/yunity/yunity-vagrant/issues/5","labels_url":"https://api.github.com/repos/yunity/yunity-vagrant/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/yunity/yunity-vagrant/issues/5/comments","events_url":"https://api.github.com/repos/yunity/yunity-vagrant/issues/5/events","html_url":"https://github.com/yunity/yunity-vagrant/issues/5","id":117814630,"number":5,"title":"Change vagrant vm to only run backend services","user":{"login":"nicksellen","id":31616,"avatar_url":"https://avatars.githubusercontent.com/u/31616?v=3","gravatar_id":"","url":"https://api.github.com/users/nicksellen","html_url":"https://github.com/nicksellen","followers_url":"https://api.github.com/users/nicksellen/followers","following_url":"https://api.github.com/users/nicksellen/following{/other_user}","gists_url":"https://api.github.com/users/nicksellen/gists{/gist_id}","starred_url":"https://api.github.com/users/nicksellen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicksellen/subscriptions","organizations_url":"https://api.github.com/users/nicksellen/orgs","repos_url":"https://api.github.com/users/nicksellen/repos","events_url":"https://api.github.com/users/nicksellen/events{/privacy}","received_events_url":"https://api.github.com/users/nicksellen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-19T13:34:46Z","updated_at":"2015-11-19T13:34:46Z","closed_at":null,"body":"Having the frontend inside the vagrant creates a ton of difficulties:\n\n* webpack doing file watching on virtualbox fs does not work, polling solution is CPU intensive and slow to update\n* adding the mounts is slow initially (have to vagrant reload when you first add them)\n\nAnd can probably just keep the pm2 stuff to run the frontend stuff (webpack), and inside the vagrant vm use proper system services to run the django app and socket server.\n\nThe vm would also run redis and any other system dep required.\n\nIt means only nodejs/npm is required on the host machine (+ vagrant + virtualbox of course)."}}