看了不少文章,怎么本地安装都比较乱,一番折腾,最后终于成功本地搭建Swagger Editor,记录以下(Windows 7):node
进入命令行:git
(1)cd E:\Learning\AWSgithub
(2)git clone https://github.com/swagger-api/swagger-editor.gitnpm
(3) cd E:\Learning\AWS\swagger-editorapi
(4)npm install浏览器
(5)npm start命令行
而后在浏览器中输入:http://127.0.0.1:3001/,成功完成!blog
如下为整个过程的相关拷屏:it
安装完后须要进行启动:test
本文的前提是已经安装了NodeJS(安装nodejs的同时会自动安装npm)
参考文献:https://testerhome.com/topics/8168