Question

What workflow does everyone use

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.


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

This comment has been deleted

This comment has been deleted

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.