Download the PHP package ristekusdi/wp-template without Composer
On this page you can find all versions of the php package ristekusdi/wp-template. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ristekusdi/wp-template
More information about ristekusdi/wp-template
Files in ristekusdi/wp-template
Package wp-template
Short Description The skeleton application for the WordPress template.
License MIT
Informations about the package wp-template
WP Template
A scaffolding template to develop WordPress site with better security.
How to run?
[!IMPORTANT] You must have install
wp-cliin order to make this scaffolding work. You may use curl or [Composer](composer global require wp-cli/wp-cli-bundle) or Homebrew to installwp-cli.
-
Create new project using Composer.
-
Change directory to the project.
- Create env variable by copy the
.env.examplefile.
Then adjust values for:
- DB_HOST
- DB_NAME
- DB_USER
- DB_PASSWORD
- AUTH_KEY
- SECURE_AUTH_KEY
- LOGGED_IN_KEY
- NONCE_KEY
- AUTH_SALT
- SECURE_AUTH_SALT
- LOGGED_IN_SALT
- NONCE_SALT
- WP_CACHE_KEY_SALT
-
Install composer dependencies.
- Install WordPress with
wpcommand.
Note: Replace
DB_NAME,DB_USER,DB_PASSWORD,DB_HOST,SITE_URL, andSITE_TITLEwith actual value.
Happy programming.
How to deploy?
The deployment use Deployer with GitLab CI/CD. You need to provide:
- A user named
deployer. This user used for deployment CI/CD. - SSH Private Key and Known Hosts. Please visit ristekusdi/deploy-web-app to learn how to create it.
- Replace
<ip-address-or-hostname>value indeploy.phpwith IP address server. - Replace
<example.com>value indeploy.phpwith your domain name.