文件名称:brando:各种CMS
文件大小:923KB
文件格式:ZIP
更新时间:2024-03-15 19:42:14
Elixir
伸出援助之手。 *实验性的,不建议以更稳定的形式使用!* 安装 首先创建一个新的Phoenix项目: $ mix phx.new my_project 运行安装脚本: $ wget https://raw.githubusercontent.com/brandocms/brando/master/install.sh && chmod +x install.sh && ./install.sh 进入config/brando.exs 。 要使用Brando的错误视图,请添加到端点的配置中(在prod.exs中): config :my_app , MyApp . Endpoint , render_errors: [ accepts: ~w( html json ) , view: Brando . ErrorView , default_format: " html " ]