Changeset 47752
- Timestamp:
- 05/03/2020 02:41:03 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/README.md
r47744 r47752 10 10 ## Getting Started 11 11 12 WordPress is a PHP, MySQL, and JavaScript based project, and uses usesNode for its JavaScript dependencies. A local development environment is available to quickly get up and running.12 WordPress is a PHP, MySQL, and JavaScript based project, and uses Node for its JavaScript dependencies. A local development environment is available to quickly get up and running. 13 13 14 14 You will need a basic understanding of how to use the command line on your computer. This will allow you to set up the local development environment, to start it and stop it when necessary, and to run the tests. 15 15 16 You will need [Docker](https://www.docker.com/products/docker-desktop) installed and running on your computer. Docker is the virtualization software that powers the local development environment. 16 You will need Node and npm installed on your computer. Node is a JavaScript runtime used for developer tooling, and npm is the package manager included with Node. If you have a package manager installed for your operating system, setup can be as straightforward as: 17 18 * macOS: `brew install node` 19 * Windows: `choco install node` 20 * Ubuntu: `apt install nodejs npm` 21 22 If you are not using a package manager, see the [Node.js download page](https://nodejs.org/en/download/) for installers and binaries. 23 24 You will also need [Docker](https://www.docker.com/products/docker-desktop) installed and running on your computer. Docker is the virtualization software that powers the local development environment. Docker can be installed just like any other regular application. 17 25 18 26 ### Development Environment Commands … … 29 37 ``` 30 38 31 The environment will be accessible at http://localhost:8889.39 Your WordPress site will accessible at http://localhost:8889. You can see or change configurations in the `.env` file located at the root of the project directory. 32 40 33 41 #### To watch for changes … … 62 70 ``` 63 71 72 #### To restart the development environment 73 74 You may want to restart the environment if you've made changes to the configuration in the `docker-compose.yml` or `.env` files. Restart the environment with: 75 76 ``` 77 npm run env:restart 78 ``` 79 64 80 #### To stop the development environment 65 81 … … 72 88 #### To start the development environment again 73 89 74 Restarting the environment again is a single command:90 Starting the environment again is a single command: 75 91 76 92 ```
Note: See TracChangeset
for help on using the changeset viewer.