node.js學習資料(2015-12)

來源:互聯網
上載者:User

標籤:json   icon   vscode   npm   str   變數   ring   令行   dem   


使用vscode開發,設定代碼智能提示的方法,cd 項目目錄,然後使用以下命令
npm install tsd -g
tsd install node express angular -ros

下載 Git-2.6.4-64-bit.exe 安裝後,千萬記得追加 path 環境變數, 不然 vscode 裡不會顯示 git 功能

安裝 npm install -g [email protected]
cd 到需要產生demo的目錄 如:g:\nodejs\test001>express
npm install express -d安裝 express 包到當前項目下
npm install serve-favicon -d
tsd install serve-favicon -ros

process.env.PORT 對應在 .vscode/launch.json 設定,或者使用命令啟動 node 前設定環境變數, PORT=1010

node /root/node-v5.3.0-linux-x64/lib/node_modules/pm2/bin/pm2 restart www

gm使用,在windows下先安裝 ImageMagick-6.9.3-1-Q16-x64-dll後,添加path變數,不行再重啟
他就是使用cmd命令列執行convert.exe命令

 

圖形、驗證碼:

ImageMagick-6.9.3-1-Q16-x64-dll.exe

 

mysql-5.7.10-win Access denied for user ‘root‘@‘localhost‘問題:
第一步:mysqld --skip-grant-tables
第二步:cmd -> mysql ->
update mysql.user set authentication_string=password(‘123123‘) where user=‘root‘ and Host =‘localhost‘;
第三步:mysql -uroot -p123123 -> set password=password(‘123123‘);

node.js學習資料(2015-12)

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.