View Source mix beacon.gen.site (Beacon v0.3.0)
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
--siteor-s(required) - The name of your site. Should not contain special characters nor start with "beacon_"--pathor-p(optional, defaults to "/") - Where your site will be mounted. Follows the same convention as Phoenix route prefixes.