studiocreativateam/docker-wordpress
最新稳定版本:1.0.2
Composer 安装命令:
composer create-project studiocreativateam/docker-wordpress
包简介
Docker Wordpress
关键字:
README 文档
README
Usage
- Copy env file:
cp .env.example .env - Copy parameters file:
cp ./wordpress/.htaccess.example ./wordpress/.htaccess - Copy defines file:
cp ./wordpress/wp-config.example.php ./wordpress/wp-config.php - Copy parameters file:
cp ./docker/php.ini.example ./docker/php.ini - Run command
make upfor linux/mac-os ormake up-winfor windows and wait up to 2 mins after first run. - Find
themes/main-themethroughout your project and replace it with your theme name - Install npm
make bash=>cd wp-content/themes/main-theme=>npm install - Compile npm
make bash=>cd wp-content/themes/main-theme=>npm run build - Go to website http://localhost <- port from .env file.
- Go to phpmyadmin http://localhost:8080 <- port from .env file.
Usefully commands
- Docker start:
make upormake up-win - Docker stop:
make downormake down-win - Go do bash:
make bashormake bash-win - Make database backup:
make db-dump
Import DB
docker exec -i wp_project_mysql mysql -uwordpress -psecret wordpress < dumps/dump.sql
统计信息
- 总下载量: 107
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-09-15