Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

docker based environment setup #2

Merged
merged 1 commit into from Jun 21, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
19 changes: 18 additions & 1 deletion README.md
Expand Up @@ -20,5 +20,22 @@ This ACF field type is compatible with:
3. Create a new field via ACF and select the Tweet type
4. Please refer to the description for more info regarding the field type settings

## Docker setup for Plugin Dev

This plugin also comes with a `docker-compose.yml` file which allows you to run a
clean instance of Wordpress with ACF Pro 5 and `acf-field-tweet` as plugins for
development purposes. Because this plugin requires ACF PRO you need to download
the plugin on your own and link to it in the docker-compose file.

1. Edit `docker-compose.yml` and modify the Volumes path to your own
`advanced-custom-fields-pro` path.
2. run docker-compose up in this plugin folder, and follow the instruction to
create a new Wordpress Install.
3. Go in the Plugins admin panel and activate both *ACF PRO* and *ACF Field Tweet*

### Changelog
Please see `readme.txt` for changelog
#### 1.0.1
* Added Docker dev environment setup.

#### 1.0.0
* Initial Release.
2 changes: 1 addition & 1 deletion acf-tweet.php
Expand Up @@ -4,7 +4,7 @@
Plugin Name: Advanced Custom Fields: Tweet
Plugin URI: https://github.com/francoiscote/acf-field-tweet
Description: An ACF custom field that gets a single Tweet Data from the twitter API from the tweet ID.
Version: 1.0.0
Version: 1.0.1
Author: François Côté
Author URI: http://francoiscote.net
License: GPLv2 or later
Expand Down
13 changes: 13 additions & 0 deletions docker-compose.yml
@@ -0,0 +1,13 @@
wordpress:
image: wordpress
links:
- db:mysql
ports:
- 8080:80
volumes:
- ./:/var/www/html/wp-content/plugins/acf-field-tweet
- ~/code/wp-plugins/advanced-custom-fields-pro:/var/www/html/wp-content/plugins/advanced-custom-fields-pro
db:
image: mariadb
environment:
MYSQL_ROOT_PASSWORD: 12345