官术网_书友最值得收藏!

Describing the setup

From a high level, here is what needs to happen in order to take an application that we have developed from a desktop to deployment. In order to deploy your application, you will provision two hosts, web and db (each with one user account) and webapp, whose home directory will be in /home/webapp. The source code will be hosted on GitHub and deployed using Git onto the web server. We will create a database, provision an account to access that database, and then configure and deploy a web.py application in a virtual Python environment that will be started and monitored by supervisord. This is a fairly common pattern for modern web applications, regardless of the framework and language being used. The demonstration application used in this chapter consists of only a handful of files making it easy to deploy and understand, but this will give you the concepts and tools to expand this example for use with future applications you might develop or need to deploy.

主站蜘蛛池模板: 怀集县| 平陆县| 乐昌市| 蓬安县| 墨江| 石嘴山市| 武功县| 淅川县| 射阳县| 吕梁市| 新和县| 南雄市| 正定县| 冕宁县| 临汾市| 会理县| 彰武县| 三台县| 宜兰县| 微山县| 红河县| 马公市| 广宗县| 罗定市| 古蔺县| 商南县| 天祝| 石渠县| 新绛县| 十堰市| 海原县| 辽阳县| 镇赉县| 车险| 侯马市| 长春市| 满洲里市| 社旗县| 通许县| 漳浦县| 蕉岭县|