Skip to content
Snippets Groups Projects
Commit dae1fe31 authored by dvhirst's avatar dvhirst :older_man_tone1: Committed by GitHub
Browse files

Update buildkit.md

Reading for content; editing for consistency.
parent 1ae41b8e
No related branches found
No related tags found
No related merge requests found
...@@ -77,7 +77,7 @@ You may execute the commands directly (e.g. `./bin/civix` or `/path/to/buildkit ...@@ -77,7 +77,7 @@ You may execute the commands directly (e.g. `./bin/civix` or `/path/to/buildkit
If you want to ensure that the buildkit CLI tools are always available, then: If you want to ensure that the buildkit CLI tools are always available, then:
1. Determine the location of your shell configuration file. This is usually `~/.bashrc`, `~/.bash_profile`, or `~/.profile`. 1. Determine the location of your shell configuration file. This is usually `~/.bashrc`, `~/.bash_profile`, or `~/.profile`.
1. At the end of the file, add `export PATH="/path/to/buildkit/bin:$PATH"` 1. At the end of the file, add `export PATH="/path/to/buildkit/bin:$PATH"`.
1. Close and reopen the terminal. 1. Close and reopen the terminal.
1. Enter the command `which civibuild`. This should display a full-path. If nothing appears, then retry the steps. 1. Enter the command `which civibuild`. This should display a full-path. If nothing appears, then retry the steps.
...@@ -112,7 +112,7 @@ Buildkit provides a tool called `amp` which [civibuild](/tools/civibuild.md) use ...@@ -112,7 +112,7 @@ Buildkit provides a tool called `amp` which [civibuild](/tools/civibuild.md) use
!!! tip "tips" !!! tip "tips"
* Run this as a non-`root` user who has `sudo` permission. This will ensure that new files are owned by a regular user, and (if necessary) it enables `civibuild` to restart your webserver and edit `/etc/hosts`. * Run this as a non-`root` user who has `sudo` permission. This will ensure that new files are owned by a regular user, and (if necessary) it enables `civibuild` to restart your webserver and edit `/etc/hosts`.
* Pay close attention to any instructions given in the output of this command. * Pay close attention to any instructions given in the output of this command.
* To check which version of apache you have, run `apachectl -v` * To check which version of apache you have, run `apachectl -v`.
!!! caution !!! caution
We strongly recommend using Apache as your webserver because support for nginx is limited. We strongly recommend using Apache as your webserver because support for nginx is limited.
...@@ -165,7 +165,7 @@ Buildkit provides a tool called `amp` which [civibuild](/tools/civibuild.md) use ...@@ -165,7 +165,7 @@ Buildkit provides a tool called `amp` which [civibuild](/tools/civibuild.md) use
## Troubleshooting {:#troubleshooting} ## Troubleshooting {:#troubleshooting}
Nodejs version too old or npm update does not work Nodejs version too old or npm update does not work:
: Download the latest version from nodejs.org and follow to their instructions : Download the latest version from nodejs.org and follow to their instructions
...@@ -178,7 +178,6 @@ Nodejs problems ...@@ -178,7 +178,6 @@ Nodejs problems
npm install fs-extra npm install fs-extra
``` ```
## Upgrading buildkit {:#upgrading} ## Upgrading buildkit {:#upgrading}
New versions of buildkit are likely to include new versions of tools. The new tools will download automatically when you first run `civibuild`. If you prefer to download explicitly, then re-run `civi-download-tools`. New versions of buildkit are likely to include new versions of tools. The new tools will download automatically when you first run `civibuild`. If you prefer to download explicitly, then re-run `civi-download-tools`.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment