Jump to content


Photo

Free Deployment Tools?


  • Please log in to reply
3 replies to this topic

#1 fivestringsurf

fivestringsurf
  • Members
  • PipPipPip
  • Advanced Member
  • 92 posts

Posted 02 December 2016 - 12:42 PM

I have a digitalocean account and would like to be able to auto deploy code to the digitalocean server after a push from my local machine.

I've been using beanstalkapp to do this with one of my projects.  I love beanstalkapp ... it's easy to use, and well documented.  Not being a sys-admin this is important to me.

The problem is they only allow 1 free repo and I need another for this charitable app I'm making for my school.

 

Is there any other free repo solution I can use to push code to a staging / production server (at digitalocean)   Please keep in mind I'm not a sys-admin so it has to be simple like beanstalkapp.

 

Thanks!



#2 shan2batman

shan2batman
  • Members
  • PipPipPip
  • Advanced Member
  • 41 posts

Posted 06 December 2016 - 12:51 PM

i dont know the level of complexity you are not looking for but openshift.com is a great start



#3 EndiveSoftware

EndiveSoftware
  • New Members
  • Pip
  • Newbie
  • 6 posts

Posted 10 February 2017 - 07:13 AM

Check out this List- https://xebialabs.co...est/deployment/

May be help you out



#4 jonsjava

jonsjava
  • Members
  • PipPipPip
  • Advanced Member
  • 1,580 posts

Posted 13 September 2017 - 01:51 PM

I had someone on a budget once (read: $10/month).  My solution, while not elegant, worked.

 

  1. Ensure your code is in Git
  2. Configure the deploy user to have access to Git via SSH
  3. Clone the repo into the directory you wish to serve it out of
  4. Create a cron that runs ever x minutes/hours that will do the following:
    cd /path/to/your/code && git reset --hard && git pull origin master
    

This solved their problem.  There are better solutions (Jenkins, for example), but if you want simple, cron + git works.


I started programming in PHP because I needed money for food. Now, I'm so busy programming I don't have time to eat!
Adding
or die ( "Query failed due to: ".mysql_error())
to your mysql queries will save you a lot of time and grief. ___ JonsJava.com




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users