Skip to content

Commit

Permalink
Update the composer to sync the composer.json and composer.lock file
Browse files Browse the repository at this point in the history
Update the documentation for installation steps
  • Loading branch information
Niraj Pandey committed Apr 10, 2019
1 parent 61c30fd commit f45cc37
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 24 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### v1.0.1: 2019-04-10

* Update the composer packages
* Add missing installation steps

### v1.0.0: 2019-04-10

* Initial release
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@ This repository is a boilerplate for setting up a Wordpress project on a Mac or
```sh
$ docker-compose up -d
```
- Install the npm packages with the following command on the Lumberjack root at ```web/app/themes/lumberjack/```

```sh
$ npm install
```

- Run a dev build on the same directory to have the theme assets built for frontend
```sh
$ npm run dev
```
- Initial variables are already setup to be used both by Wordpress and docker but you can update environment variables in the `.env` file:
* Database variables
* `DB_NAME` - Database name
Expand All @@ -41,6 +51,6 @@ This repository is a boilerplate for setting up a Wordpress project on a Mac or
* `MYSQL_PORT` - Docker Mysql Container port
* `WEB_PORT` - Docker Web Server (nginx) port if you want to use any other port than port 80. If you use any other port, make sure to change the ```WP_HOME``` from ```http://localhost``` to ```http://localhost:PORT```
- Rebuild the container if the `.env` variables is updated with the following command
```sh docker-compose up --build```
```sh $ docker-compose up --build```
- Setup Wordpress locally following the standard wordpress installation steps or import an existing database locally to skip this step.
- Access the Wordpress site at [http://localhost](http://localhost) and access WordPress admin at [http://localhost/wp/wp-admin/](http://localhost/wp/wp-admin/)
47 changes: 24 additions & 23 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f45cc37

Please sign in to comment.