【 以下文字转载自 LeisureTime 讨论区 】
发信人: HappyAve (小街, 倾城), 信区: LeisureTime
标 题: one application, multiple instances, 程序员请进
发信站: BBS 未名空间站 (Tue Nov 24 21:00:26 2015, 美东)
我目前在一家小公司工作, 做学校软件, 遇到了一个有趣的问题。
公司有个学校软件, 一直是把deployed application codes, database release
scripts, 和需要manually update的items(for examples, different images for
different schools, web.config file updates)放进一个package发送给客户--各个不
同的学校, instruct各个不同的学校upgrade or install in their own web and
database server.
请问, this circumstance, one application, multiple instances, 你们公司怎么
做install and upgrade?
最近我的老板有一个crazy的想法, 想要做自动升级, 可以怎么操作呢? I am thinking
to have a separate application (can not be in the same application, right?)
installed in client's web server, click a button in the application, call a
web service installed in the web server to automatically upgrade the
application codes package, call a web service installed in database server,
to execute those release script in database server. Under this circumstance,
need have a folder in web server, put the application codes there,
have a folder in database server, put database release script there, before
click the button. Still, those items need be manually updated (for examples,
different images for different schools, web.config file updates), still
need to be manually updated.
Also, this button must be in a separate application other than the
application needs to be upgraded, right? My understanding is that, usually
before we upgrade an application, we shuts it down.
我只是觉得老板的想法crazy, not doable, :)