admin 发表于 2017-1-26 17:56:18

美國Heroku無限容量無限流量免費空間應用創建使用教程

https://imgurl.crskey.com/imb/2509.png

Unleash your inner startup
Choose Heroku for the same reasons disruptive startups do: it’s the best platform for building with modern architectures, innovating quickly, and scaling precisely to meet demand.

Focus on your apps
Invest in apps, not ops. Heroku handles the hard stuff — patching and upgrading, 24/7 ops and security, build systems, failovers, and more — so your developers can stay focused on building great apps.

Turn your company into an apps company
Today every company needs apps to engage their customers and run their businesses. Step up your ability to build, manage, and deploy great apps at scale with Heroku.

Powerful platform, unparalleled ecosystem
Don’t reinvent the wheel. Heroku’s 150+ third-party add-ons, 1000+ open source buildpacks, and 3000+ ready-to-deploy Heroku Buttons provides a rich ecosystem of pre-integrated extensions and services.

Apache Kafka on Heroku
Build data-intensive apps using the leading open source solution for managing event streams, all with the ease of the Heroku developer experience.

       官方網站:https://www.heroku.com

       Heroku是一項支持多種編程語言的雲平台即服務,總部位於美國加利福尼亞州舊金山,在2010年被Salesforce.Com收購。Heroku作爲最開始的雲平台之一,從2007年6月起開發,當時它僅支持Ruby,但後來增加了對Java、Node.js、Scala、Clojure、Python以及PHP和Perl的支持。基礎操作系統是Debian,在最新的堆棧則是基于Debian的Ubuntu。
       Heroku平台的靈活性極高且支持多種編程語言。若想把程序部署到Heroku上,開發者要使用Git把程序推送到Heroku的Git服務器上。在服務器上,git push命令會自動觸發安裝、配置和部署程序。
       Heroku使用名爲Dyno的計算單元衡量用量,並以此爲依據收取服務費用。最常用的Dyno類型是Web Dyno,表示一個Web服務器實例。程序可以通過使用更多的Web Dyno以增強其請求處理能力。另一種Dyno類型是Worker Dyno,用來執行後台作業或其他輔助任務。
       Heroku提供了大量的插件和擴展,可用于數據庫、電子郵件支持和其他很多服務。

admin 发表于 2017-1-26 21:08:35

申請注冊Heroku:

https://imgurl.crskey.com/imb/2510.png

https://imgurl.crskey.com/imb/2511.png

       登陸您的郵箱,您會收到一封來自Heroku.Com的郵件,若15分鍾內無法收到郵件,點擊頁面上的“go back”修改新的郵箱。

https://imgurl.crskey.com/imb/2512.png

https://imgurl.crskey.com/imb/2513.png

https://imgurl.crskey.com/imb/2514.png

https://imgurl.crskey.com/imb/2515.png

       稍等片刻進入Heroku主界面,至此申請注冊結束,您已經擁有了Heroku免費雲空間的使用權。

admin 发表于 2017-1-26 22:35:36

創建應用:

https://imgurl.crskey.com/imb/2516.png

https://imgurl.crskey.com/imb/2517.png

https://imgurl.crskey.com/imb/2518.png

       創建完應用後,進入管理控制面板,主要應用是:Overview、Resources、Deploy、Metrics、Activity、Access。點擊“Settings(設置)”選項可以編輯配置應用項目,Config Variables的“Reveal Config Variables(顯示配置變量)”可以查看數據庫、存儲、郵局等環境參數。在“Info”中可以看到:Region、Stack、Framework、Git URL、Repo size、Slug size等信息。

https://imgurl.crskey.com/imb/2519.png

       在“Domains and certificates”可以自定義域名,綁定您自己的域名。

https://imgurl.crskey.com/imb/2520.png

       綁定域名前需要添加信用卡,先驗證您的帳戶:https://heroku.com/verify,只有添加信用卡驗證成功,才能自定義域名。
页: [1]
查看完整版本: 美國Heroku無限容量無限流量免費空間應用創建使用教程