Do you use git?
Homestead on Digital Ocean?
wondering what is the easiest way to get my local homestead laravel app onto my DO hosting. I dont want forge since it costs money.
of course @zachleigh
but i obviously cant just clone it over, i need homestead apps such as nginx etc
I just pull the repo into my server only takes a couple minutes to update.
So set up a Nginx digitalocean server...
i was just wondering if i could get all the apps in a simple way...... instead of installing them all one by one:
Git PHP 7.0 Nginx MySQL MariaDB Sqlite3 Postgres Composer Node (With PM2, Bower, Grunt, and Gulp) Redis Memcached Beanstalkd
Digitalocean servers come with most of the server stuff. Install the rest yourself. It would only take a couple minutes. You probably dont need the build tools (gulp etc.) because youre probably building in dev and pushing production ready code to your server. The databases... Are you using three in one application?
@cain98 that's what you get/why you pay for Forge! It does all that stuff for you. Well worth the money in my opinion, but, if that isn't an option then you will have to do it manually unless you can write/find an app that interacts with the GitHub API to pull your repositories for you and deploy them.
AFAIK you could always sign up to Forge for a month and then set everything up and then cancel your subscription. I personally have a monthly rolling subscription although I rarely provision new servers, actually only done this three times when switching providers. I do however use Forge approximately once a month to set up a new site or tinker around with an existing one. For the $10-15 that it costs, it saves me 10x that in labour and headaches.
Setting up "push to deploy" is relatively trivial with git hooks.. https://www.digitalocean.com/community/tutorials/how-to-set-up-automatic-deployment-with-git-with-a-vps
create homestead in docker and use this tutorial to deploy your machine to digital ocean https://docs.docker.com/machine/examples/ocean/ https://hub.docker.com/r/shincoder/homestead/ (homestead docker can be found here)
Please or to participate in this conversation.