felixge/nodeguide.com
关于
My unofficial and opinionated guide to node.js.
学习与教育实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文nodeguide.com
Local installation
git clone [email protected]: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
探索相关项目
加载中…