2013-12-18 23 views
1
OAuth daemon 

oauthd是OAuth.io內核的開源版本。這是一個在您自己的服務器上運行的後臺API服務器,它允許您的客戶端對任何可用的提供程序進行身份驗證。訪問本地主機上的OAuthd開源庫

先決條件

一個工作redis的數據庫> = V2.4,檢查Redis的快速啓動用於正確安裝 的NodeJS> = v0.8.2 NPM> = 1.1版

後以上步驟i中運行這些命令

1) npm install -g coffee-script grunt grunt-cli forever 
2) npm install oauthd 
3) npm [start|stop|restart] option to start server but its not working 

Actually i want setup this library on localhost but its not working please any one can  help me in it 

Insctuctions從這個鏈接 https://oauth.io/docs/oauthd

其次

謝謝

+0

默認情況下,它在本地主機上運行。你有什麼系統?你會得到什麼錯誤?在您的問題中不清楚 –

+0

我在窗口7上安裝它,但它不工作。它給我的錯誤是(gyp構建錯誤),當我運行這個命令(NPM安裝)。 – bilalmetla

回答

0

確保你還安裝了python。 gyp構建錯誤聽起來像node-gyp庫找不到python。在大多數unix平臺上,這不是問題。在Windows上,你可能需要安裝python。這裏是Pyathon node_module,其中包含更多關於獲取該軟件包的詳細說明:https://www.npmjs.org/package/node-gyp