🇹🇭 Thai
Leanwp; Container is a WordPress container built based on Docker system.
The project requires Docker Compose installed in your machine.
Read how to: Install Docker Compose.
Download Leanwp; Container's the latest release.
Then extract file and place the extracted-folder at any place in a machine you want to operate Leanwp; Container.
At the Leanwp; Container folder that you have extracted from the step above,
simply execute the following command at your terminal program to build a new container.
docker-compose up
Leanwp; Container will create a new folder, html
, in the root folder. Then download and install WordPress in the html
folder.
Leanwp; Container allows you to customize various of parameters at the .env
file when starting a new container.
The configurations are explained at the below table:
Configuration Name | Description | Default value |
---|---|---|
DB_HOST | A DB server (please keep it as default unless you have plan to modify or separate a db server) | 127.0.0.1 |
DB_NAME | Name of a database that will be installed by WordPress | www |
DB_USER | Username of a database | wwwadmin |
DB_PASSWORD | Password of a database | wwwpassword |
Configuration Name | Description | Default value |
---|---|---|
WP_VERSION | A version of WordPress that you want to install (leave it empty for always install the latest version) | |
WP_DEBUG | Enable WordPress Debug mode | true |
WP_TITLE | WordPress web title | Leanwp; Container |
WP_BASE_URL | Base URL of a WordPress website (leave it as default unless you have any plan to replace it with DNS) | http://127.0.0.1 |
Configuration Name | Description | Default value |
---|---|---|
WP_ADMIN_USER | WordPress Admin's username | admin |
WP_ADMIN_PASSWORD | WordPress Admin's password | password |
WP_ADMIN_EMAIL | WordPress Admin's email | admin@leanwp.dev |
After making any change, you will need to rebuild the container's image by simply execute the following command:
docker-compose up --build
Thank you for your interest in contributing to the project.
Leanwp; Container is always welcoming for any thoughts or works from our community.
The following subjects are instructions for contributors who consider to submit changes, issues, and/or proposals.
You're all welcome to submit a pull request and make a change on the project.
Before making any changes, please create a new issue ticket with a title: "[Proposal] Your proposal title."
Once you submitted the proposal, it will be reviewed and approved.
Please wait until your proposal got approved before making any changes.
This is to avoid a situation where us, spending effort on a change but later on the idea or proposal is not match with the direction of community.
Once the proposal got approved, you may submit the change by creating a new pull request back to master
branch with a title: "[Proposal #issue-number] Your pull request title."
..
.
Learn more about submitting pull request here: https://help.github.com/articles/about-pull-requests
Submit the issue through GitHub's issue channel.
Learn more about submitting an issue here: https://guides.github.com/features/issues
Leanwp; Container is open-sourced software released under the MIT License.