Report this

What is the reason for this report?

What workflow does everyone use

Posted on March 22, 2018

I’m just wondering what workflow everybody uses? I’m used to developing on windows exclusively, so a lot of the linux stuff is new and cumbersome to me. I know I can develop locally, which is what I’m doing in a ubuntu VM on a windows box, but lets say I go into production. What then? How do I push to the server asap etc… what’s the best method for this kind of setup. I will be using Laravel as a framework mostly.

I liked the idea of having the cloud storage mounted locally in the vm, but I’ve found once i got over the hurdle of setting it up to accept my ssh key pair sublime wouldn’t save over the files anyway.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

This is a broad question. How do you deploy when you develop under windows? Most likely the same tools are available.

A basic answer is using git.

  • Develop locally under linux
  • Test
  • git commit & git push
  • Use a git hook on the remote server (testing or prod)
  • Done!

https://www.digitalocean.com/community/tutorials/how-to-use-git-hooks-to-automate-development-and-deployment-tasks

Maybe you’re using a CI/CD pipeline?

https://www.digitalocean.com/community/tutorials/automatically-deploy-laravel-applications-deployer-ubuntu

If you’re cloud storage is mounted locally (and correctly mounted) sublime, atom, vscode (or any other editor) should read/write the files normally. If sublime doesn’t save the files, make sure you’re opening the correct file from the correct mounted drive.

This comment has been deleted

This comment has been deleted

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.