PhxAdmin v0.9.1 Mix.Tasks.Admin.Install

Install PhxAdmin supporting files.

mix admin.install

Defaults:

  • assets - copy js, css, and image files
  • brunch - append instructions to brunch-config.js
  • config - add configuration to config/config.exs
  • dashboard - create a default dashboard
  • route - display instructions to add the admin routes

Options:

  • —no-brunch - Write assets to priv/static instead of web/static/
  • —no-assets - Skip the assets
  • —no-config - Skip the config
  • —no-dashboard - Skip the dashboard
  • —no-route - Skip the route instructions

Summary

Functions

brunch_instructions(config)
check_and_set_brunch_path(config)
check_project(config)
dashboard_instructions(config)
do_assets(config)
do_assets_instructions(config)
do_config(config)
do_dashboard(config)
do_install(config)
do_paging(config)
do_route(config)
do_run(args)
run(args)