# 建立 Appname 和 網址 # appname : test # site url: test.aws.af.cm af push test --url test.aws.af.cm
# 之後會再要求你設定這個 App 的資料 --- Would you like to deploy from the current directory? [Yn]: Y Detected a PHP Application, is this correct? [Yn]: Y Memory Reservation [Default:128M] (64M, 128M, 256M, 512M, 1G or 2G) Creating Application: OK Would you like to bind any services to 'test'? [yN]: y Would you like to use an existing provisioned service [yN]? y The following provisioned services are available: 1. mysql-XXXXX Please select one you wish to provision: 1 Binding Service: OK Uploading Application: Checking for available resources: OK Packing application: OK Uploading (0K): OK Push Status: OK Staging Application: OK Starting Application: OK ---
# 備注 * appfog 本身支持 git 和類似於 ftp 的佈署 * 這裡使用的是後者,因為不想特別去建立 Public Git * 如果本身已有 Public Git 的可以通過 Web Console 來建立較方便