Arc Forumnew | comments | leaders | submitlogin
Best way to deploy arc code
3 points by idoh 4091 days ago | 3 comments
Hey arcists,

I'm gearing up to make a small web app using arc and I was wondering: what's the best way to deploy changes from my dev computer to the production server?

Right now I gzip the files, scp them to the proper spot, and then unzip them, and then load the files via the repl. It works but seems a little clunky.

Is there a better way? Ideally I'd want to be able to just push it with git and then the prod app automagically downloads the code and updates, but I'm curious to know if I'm missing something obvious.



2 points by akkartik 4091 days ago | link

Yeah I've been using git with this workflow: http://joemaller.com/990/a-web-focused-git-workflow

-----

1 point by idoh 4091 days ago | link

Thanks Kartik. My git knowledge is about the level where I can pull and push to github and resolve minor conflicts, so this is probably a really basic question -

I know how to install git, but how hard is it to set up a git server to receive the remote pushes from dev?

-----

1 point by akkartik 4091 days ago | link

It sounds like you have ssh access to your server, in which case it's super easy, no server needed at all, git push will work over ssh.

-----