您的位置:首页 > 其它

phoenix初步

2016-07-26 19:11 176 查看
更新系统包管理工具hex

mix local.hex


安装phoenix,phoenix是elixir的web框架

mix archive.install https://github.com/phoenixframework/archives/raw/master/phx_new.ez[/code] 
elixir的shell

iex
:erlang.system_info(:otp_release)

erl
erlang:system_info(otp_release).


创建项目

mix phx.new web
mix phx.new no_db_web --no-brunch --no-ecto
mix deps.get
mix phx.server


vscode的调试配置,需要ElixirLS插件

"name": "debug",
"request": "launch",
"task": "phx.server",
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: