- Notifications
You must be signed in to change notification settings - Fork24
Speedy local dev environment for@craftcms.
License
craftcms/nitro
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Nitro is a speedy local development environment that’s tuned forCraft CMS, powered byDocker.
WarningNitro has been retired. Read more in our blog post,Retiring Craft Nitro.
If you’d like to build Nitro directly from source to test a PR or unreleased feature, you’ll needgo
andmake
in order to build a CLI binary for your OS.
If you’re on macOS runningHomebrew and theApple developer tools that come with Xcode, it should be quick and straightforward:
- Run
brew install golang
. - Check out this repository and
cd /path/to/your/checkout
. - Run
make local
.
Nitro’s dependencies will be downloaded automatically, and the built binary will be moved to/usr/local/bin/nitro
.
Make sure that’s exactly what you see when you runwhich nitro
:
$ which nitro/usr/local/bin/nitro
If you installed Nitro with Homebrew, you might need to runbrew unlink nitro
so that the system uses the freshly-built binary instead. (To go back to using the Homebrew Nitro binary, usebrew link --overwrite nitro
.)
About
Speedy local dev environment for@craftcms.