Skip to content

avrinfly/localhost-Node-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

简介

Node 本地简单静态服务器

如何使用

  1. 安装 node
  2. 建立文件夹 static 用来存放静态资源文件 css\html\js\images
  3. 执行命令行 node server
  4. 浏览器输入地址 'localhost:8000/test.html'

便捷

除了安装node,无需依赖安装配置其它。

Static中

  1. template-demo:模板文件
  2. check-for-yii:要提交到PHP的代码
  3. check-demo:本地调试代码