更新系统包管理工具hex

mix local.hex

 

安装phoenix,phoenix是elixir的web框架

mix archive.install https://github.com/phoenixframework/archives/raw/master/phx_new.ez

 

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",

 

相关文章:

  • 2022-12-23
  • 2021-12-22
  • 2021-07-21
  • 2021-11-21
  • 2021-11-28
  • 2021-11-29
  • 2021-11-15
猜你喜欢
  • 2022-02-16
  • 2021-07-26
  • 2022-01-08
  • 2021-09-23
  • 2021-11-21
  • 2022-12-23
  • 2021-11-19
相关资源
相似解决方案