elixir-phoenix-notes-and-playground

时间:2021-06-30 08:37:15
【文件属性】:
文件名称:elixir-phoenix-notes-and-playground
文件大小:57KB
文件格式:ZIP
更新时间:2021-06-30 08:37:15
Elixir 要启动新的 Phoenix 应用程序: 使用mix deps.get安装依赖mix deps.get 使用mix phoenix.server启动 Phoenix 端点 现在您可以从浏览器访问localhost:4000 。 部署到heroku 核心教程 我使用的其他教程 数字海洋。 要点: Elixir 版本是 1.1.0-dev,而不是 1.0.2,需要在 github 上签出标签,然后安装 Elixir 以保持版本一致 我需要在 ubuntu 服务器上运行 release 命令 MIX_ENV=prod /root/PhoenixTutorials/rel/phoenix_crud/bin/phoenix_crud start MIX_ENV=prod mix release mix release.clean useradd deploy passwd deploy
【文件预览】:
elixir-phoenix-notes-and-playground-master
----.gitignore(38B)
----README.md(2KB)
----test()
--------test_helper.exs(13B)
--------phoenix_crud_test.exs(102B)
----Procfile(94B)
----priv()
--------static()
--------repo()
----web()
--------views()
--------models()
--------router.ex(594B)
--------view.ex(557B)
--------templates()
--------controllers()
----elixir_buildpack.config(62B)
----config()
--------database.exs(163B)
--------dev.exs(445B)
--------config.exs(782B)
--------prod.exs(1KB)
--------locales()
--------test.exs(181B)
----mix.lock(535B)
----lib()
--------phoenix_crud.ex(488B)
--------phoenix_crud()
----mix.exs(689B)

网友评论