Skip to content

Instantly share code, notes, and snippets.

@engelju
Created May 11, 2016 10:18
Show Gist options
  • Save engelju/254573421a1a3b417a08523e422c7fdc to your computer and use it in GitHub Desktop.
Save engelju/254573421a1a3b417a08523e422c7fdc to your computer and use it in GitHub Desktop.
homestead worklfow
1. make new project
cd www/sites/ && mkdir new-project
2. add project to homestead config
vi ~/.homestead/Homestead.yaml
3. add project to hosts file
sudo vi /etc/hosts
4. fire up homestead, or re-provision if already running
cd www/Homestead && vagrant up | vagrant provision
5. edit files locally by pointing phpstorm or vim to www/sites/<your-project>
6. run devtools via ssh
cd www/Homestead && vagrant ssh, <do your stuff>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment