本地開發工具:Nanobox
Nanobox 是本地開發工具,可以消除環境的復雜性,在部署和生產環境之間,進行自動化環境配置,通過虛擬化使得開發環境更簡潔。
Nanobox 在輕量級 VM 中啟動應用,使得本地保持與生產環境一樣的配置。
主要特性:
-
應用源代碼:專注于編碼,而不需要過多關注配置一個本地開發環境。
-
語言引擎:此引擎可以檢測你的應用類型和指定應用需要的服務,還有如何配置。
-
Docker 容器:配置好和安裝好的容器。
-
Vagrant / Virtual Box:服務在統一的輕量級 Linux 虛擬機 (30mb RAM) 中運行。
Nanobox 檢測你的應用類型,自動配置環境,安裝應用所需的所有應用和服務:
使用
Usage: nanobox [flags] nanobox [command] Available Commands: run Starts a nanobox, provisions the app, & runs the app's exec dev Starts the nanobox, provisions app, & opens an interactive terminal info Displays information about the nanobox and your app console Opens an interactive terminal from inside your app on nanobox destroy Destroys the nanobox stop Suspends the nanobox update Updates the CLI to the newest available version update-images Updates the nanobox docker images box Subcommands for managing the nanobox/boot2docker.box engine Subcommands to aid in developing a custom engine Flags: --background[=false]: Stops nanobox from auto-suspending. -f, --force[=false]: Forces a command to run (effects vary per command). -v, --verbose[=false]: Increase command output from 'info' to 'debug'. --version[=false]: Display the current version of this CLI Additional help topics: nanobox production Use "nanobox [command] --help" for more information about a command.
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!