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

Downloads in past


001.3.04 years ago4 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