@gentsagency/configure-craft-env

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

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
00Aug 14, 2018Jun 21, 2018Minified + gzip package size for @gentsagency/configure-craft-env in KB

Readme

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.

Usage

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:

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

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

  --ssl-path
    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.