/Spider-WordPress

Grab latest feed from search engine like Google, Bing, WordPress, etc in your WordPress site.

Primary LanguagePHP

Spider

Grab latest feed from search engine like Google, Bing, WordPress, etc.

Develop with Docker

Change variables in the .env.docker file then follow instruction below.

1. Build docker image

docker build -t wordpress:swp .

2. Run docker container

docker run --rm --env-file $(pwd)/.env.docker -p 8080:80 -v $(pwd):/var/www/html/wp-content/plugins/spider wordpress:swp

3. Install composer deps

docker exec -it <container_id> bash
cd ./wp-content/plugins/spider
composer install

4. Install node modules

npm i
npm run build

5. Activate plugin

Login to WordPress admin panel and activate the Spider plugin.

Now you can access the site by visiting: http://localhost

Todo

  • create admin ui
  • automatically publish into WordPress
  • cli support