如何搭建本地Azure Storage環境

2021-10-10 14:26:46 字數 1072 閱讀 6281

開啟emulator, 在控制台視窗中,鍵入以下命令,其中 是 sql server 例項的名稱。

若要使用 localdb,請指定 (localdb)\mssqllocaldb 作為 sql server 例項。

a. azurestorageemulator.exe init /server 也可以使用以下命令,該命令指示模擬器使用預設 sql server 例項:

b. azurestorageemulator.exe init /server .

或者,可以使用以下命令將資料庫重新初始化為預設的 localdb 例項:

azurestorageemulator.exe init /forcecreate

完成以上步驟後,在控制台視窗輸入指令

azurestorageemulator.exe start
(或者關閉emulator,再重新開啟emulator),本地storage環境就能使用了。

注意: 在使用本地storage時,emulator要保持開啟狀態。

其他指令:

azurestorageemulator.exe init            : initialize the emulator database and configuration.

azurestorageemulator.exe start : start the emulator.

azurestorageemulator.exe stop : stop the emulator.

azurestorageemulator.exe status : get current emulator status.

azurestorageemulator.exe clear : delete all data in the emulator.

azurestorageemulator.exe help [command] : show general or command-specific help.

搭建本地npm

cnpm install g sinopia 然後執行sinopia npm set registry url npm adduser 然後就可以發布了 使用的時候切換registry就可以 修改配置檔案可以修改埠儲存位置,以及找不到包時尋找的位址 3114註冊碼 begin license rya...

本地如何使用phpstudy環境搭建多站點

1.開啟 phpstudy 站點網域名稱管理新增 網域名稱為 localhost.yungou.com 目錄為 e mypro yungou 2.開啟 hosts 檔案 如果不能修改請關閉qq管家,右鍵用管理員身份開啟 localhost 127.0.0.1 localhost.yungou.com...

本地如何使用phpstudy環境搭建多站點

平時在開發專案的時候,多個專案同時開發的時候會遇到都得放到根目錄才能正常執行 如果沒有配置多站點就容易內容衝突 同時也不方便管理,在這裡介紹下如果用phpstudy搭建多站點,這樣就可以解決不方便管理多個專案的問題了,希望能幫助到您 1 2 啟動phpstudy 雙擊圖示開啟 找到其他選項 站點網域...