Remote Development Environment

I’m trying to setup Grav, so my wife can create a blog to share stuff with our extended family.

She is tech savvy but not a developer. She’s currently using a Mac.

My idea is to setup Grav in a VM on our home server as a development environment, push the changes to a private Github repo and pull the changes to a VPS once she is happy with the changes.

I know Grav can be edited via the Admin portal but I think eventually she may need to edit files directly.

I though about some options:

VS Code + SSH
Atom + a remote editor plugin + Github plugin
map remote folder via SSHFS, VS Code/Atom

Any suggestions and experience from a similar setup?

Comments

  • InceptionHostingInceptionHosting Hosting ProviderOG
    edited July 2020

    Use runcloud, it has a grav auto-installer, free backups that can be used as snapshots and connects to github https://lowendspirit.com/the-nuts-and-bolts really is super simple.

    Thanked by (1)beagle

    https://inceptionhosting.com
    Please do not use the PM system here for Inception Hosting support issues.

  • I'd suggest going straight for WYSIWYG editor approach - whether that's wordpress or Grav or whatever.

    Family doesn't cope well with concepts like SSH etc in my experience, but maybe yours is different.

    Thanked by (1)beagle
  • beaglebeagle OG
    edited July 2020

    @AnthonySmith said:
    Use runcloud, it has a grav auto-installer, free backups that can be used as snapshots and connects to github https://lowendspirit.com/the-nuts-and-bolts really is super simple.

    Your post was the inspiration to go with Grav, but would you suggest to edit directly on the server instead of pushing changes from a development environment?

    Do you ever need to edit the files directly? Or can you do everything via admin portal?

  • code-server maybe? Very easy to install and use.
    You can use their install script or LinuxServer's docker image.

    Thanked by (1)beagle
  • InceptionHostingInceptionHosting Hosting ProviderOG
    edited July 2020

    @beagle said:

    @AnthonySmith said:
    Use runcloud, it has a grav auto-installer, free backups that can be used as snapshots and connects to github https://lowendspirit.com/the-nuts-and-bolts really is super simple.

    Your post was the inspiration to go with Grav, but would you suggest to edit directly on the server instead of pushing changes from a development environment?

    Do you ever need to edit the files directly? Or can you do everything via admin portal?

    I just have a separate staging site https://staging.lowendspirit.com/ for core changes however the admin side of grav just ticks all the boxes so I don't really find I need to worry about pushing to a dev environment and the restore function on runcloud takes literally 10 seconds to restore the entire site, at the end of the day its just a bunch of markup files :)

    I just edit directly on the server, if I mess up it takes seconds to correct and I have hourly backups in runcloud anyway which I can mess with at a file-level if needed.

    https://inceptionhosting.com
    Please do not use the PM system here for Inception Hosting support issues.

  • I don't have expirience with grav, but you should be able to just install apache and php on her mac, If it works IMO that would be perfect development environment.

  • @AnthonySmith said:

    @beagle said:

    @AnthonySmith said:
    Use runcloud, it has a grav auto-installer, free backups that can be used as snapshots and connects to github https://lowendspirit.com/the-nuts-and-bolts really is super simple.

    Your post was the inspiration to go with Grav, but would you suggest to edit directly on the server instead of pushing changes from a development environment?

    Do you ever need to edit the files directly? Or can you do everything via admin portal?

    I just have a separate staging site https://staging.lowendspirit.com/ for core changes however the admin side of grav just ticks all the boxes so I don't really find I need to worry about pushing to a dev environment and the restore function on runcloud takes literally 10 seconds to restore the entire site, at the end of the day its just a bunch of markup files :)

    I just edit directly on the server, if I mess up it takes seconds to correct and I have hourly backups in runcloud anyway which I can mess with at a file-level if needed.

    Is most of this functionality available on the free plan? I remember you said you used the free plan to start with but I couldn't find any information on their site about what features are available.

  • InceptionHostingInceptionHosting Hosting ProviderOG

    @beagle said:

    @AnthonySmith said:

    @beagle said:

    @AnthonySmith said:
    Use runcloud, it has a grav auto-installer, free backups that can be used as snapshots and connects to github https://lowendspirit.com/the-nuts-and-bolts really is super simple.

    Your post was the inspiration to go with Grav, but would you suggest to edit directly on the server instead of pushing changes from a development environment?

    Do you ever need to edit the files directly? Or can you do everything via admin portal?

    I just have a separate staging site https://staging.lowendspirit.com/ for core changes however the admin side of grav just ticks all the boxes so I don't really find I need to worry about pushing to a dev environment and the restore function on runcloud takes literally 10 seconds to restore the entire site, at the end of the day its just a bunch of markup files :)

    I just edit directly on the server, if I mess up it takes seconds to correct and I have hourly backups in runcloud anyway which I can mess with at a file-level if needed.

    Is most of this functionality available on the free plan? I remember you said you used the free plan to start with but I couldn't find any information on their site about what features are available.

    hmm, not sure, I switched up a while back so genuinely don't remember.

    https://inceptionhosting.com
    Please do not use the PM system here for Inception Hosting support issues.

Sign In or Register to comment.