【文件属性】:
文件名称:phoenix_takes_flight
文件大小:197KB
文件格式:ZIP
更新时间:2021-06-11 11:22:45
CSS
凤凰起飞 - 聊天
设置
$ git clone git@github.com:chrismccord/phoenix_takes_flight.git chat
$ cd chat
$ mix deps.get
$ npm install
在dev.exs和test.exs配置您的 postgres 凭据
# Configure your database
config :chat , Chat . Repo ,
adapter: Ecto . Adapters . Postgres ,
username: " postgres " ,
password: " postgres " ,
database: " chat_dev "
创建你的开发和测试数据库$ mix ecto.create
运行迁移$ mix ecto.migrate
使用$ mix ph
【文件预览】:
phoenix_takes_flight-master
----mix.exs(1KB)
----brunch-config.js(908B)
----priv()
--------repo()
--------static()
----lib()
--------chat.ex(989B)
--------chat()
----web()
--------views()
--------models()
--------web.ex(2KB)
--------controllers()
--------channels()
--------router.ex(694B)
--------templates()
--------static()
----config()
--------prod.secret.exs(427B)
--------test.exs(450B)
--------prod.exs(1KB)
--------config.exs(829B)
--------dev.exs(1KB)
----test()
--------controllers()
--------test_helper.exs(218B)
--------support()
----.projectile(16B)
----README.md(851B)
----mix.lock(793B)
----.gitignore(310B)
----package.json(393B)