- Clone the repository
- Create a whmcs directory in the root of the repository and copy the WHMCS files into it
- Rename the install directory in the whmcs directory to any name
- Rename the configuration.sample.php file in the whmcs directory to configuration.php and update the details (license key, database details). Don't forget to remove the return statement at the beginning of the file
- Run
docker compose watch
to start the containers and watch for changes - Visit http://localhost/ and append the directory name you used in step 3 to the URL to access the WHMCS installation
- Follow the WHMCS installation steps
Once you have completed the installation, you may proceed to develop the following in the root of the repository:
- includes
- modules
- templates
We follow the same directory structure as WHMCS. This allows for easily copying the required files into the WHMCS installation.