Wordpress project using wordpress-ansible and PHP Dot Env
- PHP >= 5.4.x
- MySQL >= 5.5.x
- Composer
Clone the project
[email protected]:swappsco/wordpress-base.git
Create a database
mysql -u root CREATE DATABASE database_name;
Install composer dependencies
composer install
Create .env file with the following variables and complete according to the needs:
DB_NAME="database_name" DB_USER="root" DB_PASSWORD="" DB_HOST="127.0.0.1" AWS_ACCESS_KEY_ID="" AWS_SECRET_ACCESS_KEY=""
Run the project
sudo php -S 0.0.0.0:8888
View in the browser at http://localhost:8888