One-off runner to add a Craft site to your development environment


001.3.03 years ago3 years agoMinified + gzip package size for @gentsagency/configure-craft-env in KB


Configure Craft Environment

This is a one-off script that you can use to configure a Craft site (created by create-craft-site) on your local machine.

It configures Homestead and provisions Vagrant so you're good to go in seconds.


npx @gentsagency/configure-craft-env --security-key={{ SECURITY_KEY }}

If you don't set a security key, a new one will be generated by running $ craft setup/security-key

There are some other options:

    Local domain that the app will be hosted on
    @default {{ project }}.local

    Path to homestead (folder that Homestead.yaml lives in)
    @default ~/homestead/Homestead

    Path where the .crt should be stored
    @default ~/.homesteadssl

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.