起始氮气 (erlang)
我需要一些帮助启动氮 2.1
这个文档(http://nitrogenproject.com/doc/index.html)告诉我运行 ./deps/get_mochiweb.sh - 但 deps 文件夹不包含这样的脚本
ls ../../deps
nitrogen_core nprocreg simple_bridge 同步
另一方面,这些幻灯片:http://nitrogenproject.com/doc/tutorial.html 告诉我运行
./bin/氮气控制台
我似乎更合理,但我不太明白。 “./bin/nitrogen console”打开一个erlang控制台,但据我所知“open http://localhost:8000" 不是 erlang 语法。如果我跑步,我什么也不会发生。退出后,没有任何内容列出到端口 8000,
我不知道从这里该做什么
I need some help starting nitrogen 2.1
This document (http:// nitrogenproject.com/doc/index.html) tells me to run ./deps/get_mochiweb.sh - but the deps folder contains no such script
ls ../../deps
nitrogen_core nprocreg simple_bridge sync
These slides on the other hand: http:// nitrogenproject.com/doc/tutorial.html tell me to run
./bin/nitrogen console
I seems more reasonable, but I don't quite get it. "./bin/nitrogen console" opens up an erlang console, but as far as i know "open http://localhost:8000" isn't erlang syntax. If i run i nothing happens. After I exit nothing is listing to port 8000
I'm not sure what to do from here
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您刚刚开始使用 Nitrogen,最好运行“quickstart.sh”:
现在将浏览器指向 http://localhost: 8000 并玩一下 Nitrogen 演示来掌握它的窍门。
一旦您准备好在您的项目中使用 Nitrogen,您就可以在 yaws 或 mochiweb 之上构建一个版本。
If you are just starting with Nitrogen, it might be better to run "quickstart.sh":
Now point your browser to http://localhost:8000 and play with Nitrogen demos to get a hang of it.
Once you are ready to use Nitrogen for your project, you can build a release on top of yaws or mochiweb.
应用程序运行后,您将有一个 Web 服务器侦听端口 8000。打开 Web 浏览器并浏览到 localhost:8000。
Once the application is running you have a web server listening on port 8000. Open a web browser and browse to localhost:8000.