1. 安裝
⑴ 壓縮包在https://github.com/idevz/vanilla下載。
⑵ 把解壓后的文件 /vanilla-master 放到 /opt/目錄。并修改整個文件夾的屬性:
chmod –R 755 vanilla-master
⑶
./configure --prefix=/opt/vanilla --openresty-path=/opt/openresty
make install
2. vanilla的使用
⑴ 創建application框架
cd vanilla
在/opt/vanilla目錄下執行:vanilla new app_name,比如vanilla new test
⑵ 啟動vanilla
vanilla start --trace
3. 訪問web程序
因為Vanilla app in development was successfully started on port 9110. 所以訪問web的端口號是9110。
比如:http://192.168.2.200:9110/
vanilla中文手冊
https://idevz.gitbooks.io/vanilla-zh/content/overview.html
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。