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

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.

主站蜘蛛池模板: 正安县| 广元市| 青州市| 呼伦贝尔市| 岳阳县| 沁阳市| 武平县| 泾川县| 达日县| 绥棱县| 嘉兴市| 洞口县| 容城县| 双桥区| 惠州市| 白城市| 盈江县| 石泉县| 长汀县| 漠河县| 和田市| 扎鲁特旗| 茶陵县| 奉节县| 吴江市| 隆昌县| 正镶白旗| 陇川县| 永登县| 托克托县| 台南市| 利辛县| 宣威市| 什邡市| 鸡西市| 丰原市| 宁国市| 清原| 黔西| 商南县| 遂平县|