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*

*  ~Website   dulithawijewantha.com <http://dulithawijewantha.com/>*

*  ~Blog         blog.dulithawijewantha.com
<http://dulichan.github.io/chan/>*
*  ~Twitter     @dulitharw <https://twitter.com/dulitharw>*
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to