Download the PHP package hingeltd/wordpress-starter without Composer
On this page you can find all versions of the php package hingeltd/wordpress-starter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hingeltd/wordpress-starter
More information about hingeltd/wordpress-starter
Files in hingeltd/wordpress-starter
Package wordpress-starter
Short Description WordPress boilerplate with Bedrock, Lumberjack, Laravel mix on Docker
License MIT
Homepage https://github.com/hingeltd/wordpress-starter/
Informations about the package wordpress-starter
Hinge Wordpress
This repository is a boilerplate for setting up a Wordpress project on a Mac or Linux host machine and is based on the following stack:
- Bedrock
- Lumberjack
- Laravel Mix
- Docker using docker-compose generated with PHPDocker.io
Requirements
- Docker engine >= v1.13
- Docker compose >= v1.12
- node >= v10.8.0
- npm >= 6.3.0
- PHP >= 7.1
- Composer - Install
Installation
-
Create a new project:
-
Run the following command to setup docker containers for your project. Unless the .env details are change as per the following step, make sure that and is not being currently used by any other services
-
Install the npm packages with the following command on the Lumberjack root at
-
Run a dev build on the same directory to have the theme assets built for frontend
- 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 nameDB_USER
- Database userDB_PASSWORD
- Database passwordDB_HOST
- Database hostWP_ENV
- Set to environment (development
,staging
,production
)WP_HOME
- Full URL to WordPress home (http://localhost)WP_SITEURL
- Full URL to WordPress including subdirectory (http://localhost/wp)AUTH_KEY
,SECURE_AUTH_KEY
,LOGGED_IN_KEY
,NONCE_KEY
,AUTH_SALT
,SECURE_AUTH_SALT
,LOGGED_IN_SALT
,NONCE_SALT
- Generate with wp-cli-dotenv-command
- Generate with Roots WordPress salts generator
MYSQL_PORT
- Docker Mysql Container portWEB_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 from to
-
Rebuild the container if the
.env
variables is updated with the following command - 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 and access WordPress admin at http://localhost/wp/wp-admin/
All versions of wordpress-starter with dependencies
composer/installers Version ^1.4
vlucas/phpdotenv Version ^3.0.0
oscarotero/env Version ^1.1.0
roots/wordpress Version 5.1.1
roots/wp-config Version 1.0.0
roots/wp-password-bcrypt Version 1.0.0
rareloop/lumberjack-core Version ^4.2