nodeguide.com

我对 node.js 的非官方和有主见的指南。「My unofficial and opinionated guide to node.js.」

Github星跟蹤圖

nodeguide.com

Local installation

git clone git@github.com:felixge/nodeguide.com.git
cd nodeguide.com 

Viewing the Guide

With Docker

If you don't know what Docker is, then it will be easiest for you to view the Without Docker instructions, below.

If you do not have a webserver (Apache/ Nginx) running, you will probably have port 80 available, in which case just run:

docker-compose up

If, however port 80 is already taken by a webserver (typical for a development environment), you will see an error like this: Error starting userland proxy: listen tcp 0.0.0.0:80: listen: address already in use.
In which case, you can use the "override" file to make it use a different port (e.g. 8080 if that is available):

cp docker-compose.override.yml.dist docker-compose.override.yml
docker-compose -f docker-compose.override.yml up

Without Docker - Debian/ Ubuntu

You can run these commands to view the guide locally, temporarily.

sudo apt install pandoc # if you don't yet have pandoc installed
make
Technology Command Line
PHP php -S localhost:8000
Python python -m SimpleHTTPServer 8000
Python - twistd twistd -n web -p 8080 --path .
Ruby ruby -run -ehttpd . -p8080

Then visit: http://localhost:8000

See Also

主要指標

概覽
名稱與所有者felixge/nodeguide.com
主編程語言CSS
編程語言Makefile (語言數: 4)
平台Docker, Linux, Windows Subsystem for Linux (WSL)
許可證
所有者活动
創建於2011-03-29 12:43:40
推送於2019-02-03 11:23:07
最后一次提交2019-02-03 12:23:06
發布數0
用户参与
星數367
關注者數48
派生數43
提交數93
已啟用問題?
問題數18
打開的問題數11
拉請求數11
打開的拉請求數0
關閉的拉請求數1
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?