Installation
npm install anywhere -g 使用方法:进入某个目录,尤其是静态网站的根目录(即含有index.html文件的目录)运行:anywhere -p 8989 这样,访问http://your_vps_ip:8989,即可看到静态网站的效果。 
如果该目录不包含index.html文件,那么访问http://your_vps_ip:8989,显示的就是
目录里的文件/文件夹列表。   from https://github.com/JacksonTian/anywhere 
python -m SimpleHTTPServer 2345也起同样的作用。
Rwebserver 7890也起同样的作用.(需先安装ruby环境,然后运行gem install Rwebserver)
  
 
No comments:
Post a Comment