標籤: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)