EdwardZZZ / articles

工作点滴记录
2 stars 0 forks source link

当前目录开启Web Server命令 #19

Open EdwardZZZ opened 7 years ago

EdwardZZZ commented 7 years ago

【Python】python -m SimpleHTTPServer 8080 python3 -m http.server 8081 【PHP】php -S 0.0.0.0:8080 【Ruby】ruby -run -e httpd -- ./ -p 8080 【Node】npm i simplehttpserver -g; simplehttpserver -p 8080 ​​​​ npm install http-server -g