Install Swagger on Ubuntu
Posted luckysimple
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Install Swagger on Ubuntu相关的知识,希望对你有一定的参考价值。
Install npm
$ sudo apt-get install npm
$ sudo npm install npm –g // upgrade npm to latest version
You may encounter the following error:
/usr/bin/env: node: No such file or directory
This is often a misnaming error, if you install from a package manager you bin may be called nodejs, so you just need to symlink it like so:
$ sudo ln -s /usr/bin/nodejs /usr/bin/node
Install Swagger
git clone https://github.com/swagger-api/swagger-editor.git cd swagger-editor
npm start
If Swagger is started successfully, you can connect web server on http://localhost:8080.
以上是关于Install Swagger on Ubuntu的主要内容,如果未能解决你的问题,请参考以下文章
Install Redmine 3.2.0 On Ubuntu: Preparation
Install a Jenkins on Ubuntu system