This is no different than updating a website/web pages. One of the ways this is done in ASF is by committing the changes to SVN. A cron job periodically runs & does an SVN update, and at that point the changes show up.
Azeez On Thu, Jan 30, 2014 at 9:43 AM, Chan <[email protected]> wrote: > Hi all, > After our long thread regarding patching of jaggeryapps [How can we patch > Jaggery Apps?] I thought a little about deployment of apps (specifically > jaggery-apps). For now let's forget about patches (or fixes) given by us to > the jaggery apps we are shipping. Let's think about how we deploy apps to > the server. > > The scenario is a customer is deploying Enterprise Store. His server is > running in Development since he wants to customize the Store app. He > customized some of the css and javascript and he wants to deploy it to his > production server. For the first time he will probably copy the directory > (or use the management console to upload the zip file). After a while he > wants to change the copy right text. Going in our current process - he has > to upload the whole app again. > > I think we should introduce a method for the customer to push his store > app codebase to our server directly. Where he has a development git > repository and a production git repository. He commits code to his > development git repository and push the codebase to the production > repository. We can write a git hook to deploy the app automatically when we > push code (in case of jaggery apps this might not be needed). > > Below are some blog posts about people deploying apps using git - > > - http://danbarber.me/using-git-for-deployment/ > - https://coderwall.com/p/xczkaq > - https://gist.github.com/oodavid/1809044 > - https://devcenter.heroku.com/articles/getting-started-with-java > - https://developers.google.com/appengine/docs/push-to-deploy > - > > http://net.tutsplus.com/articles/general/from-ftp-to-git-a-deployment-story/ > > Isn't this a smarter and neater way to deploy apps (we'll talk about > patching with this model afterwards) ? > -- > Chan (Dulitha Wijewantha) > Software Engineer - Mobile Development > WSO2Mobile > Lean.Enterprise.Mobileware > * ~Email [email protected] <[email protected]>* > * ~Mobile +94712112165 <%2B94712112165>* > > * ~Website dulithawijewantha.com <http://dulithawijewantha.com/> * > > * ~Blog blog.dulithawijewantha.com > <http://dulichan.github.io/chan/>* > * ~Twitter @dulitharw <https://twitter.com/dulitharw>* > -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * <http://www.apache.org/>* *email: **[email protected]* <[email protected]> * cell: +94 77 3320919 blog: **http://blog.afkham.org*<http://blog.afkham.org> *twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> * linked-in: **http://lk.linkedin.com/in/afkhamazeez <http://lk.linkedin.com/in/afkhamazeez>* *Lean . Enterprise . Middleware*
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
