View Source mix beacon.gen.site (Beacon v0.2.1)
Generates a new Beacon site in the current project.
Remember to execute mix beacon.install
first if this is the first site you're generating in your project and you have not installed Beacon yet.
Example
mix beacon.gen.site --site my_site --path /
Options
--site
or-s
(required) - The name of your site. Should not contain special characters nor start with "beacon_"--path
or-p
(optional, defaults to "/") - Where your site will be mounted. Follows the same convention as Phoenix route prefixes.