Skip to content

Commit

Permalink
Merge branch 'developer' of https://github.com/vanpariyar/wp-post-views
Browse files Browse the repository at this point in the history
… into developer
  • Loading branch information
Antontokarchuk0302 committed Mar 20, 2020
2 parents eada825 + 15e81d5 commit 5655648
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
# wp-post-views

use Docker To use this Plugin setup

```
$ git clone https://github.com/vanpariyar/wp-post-views.git
$ cd wp-post-views
$ docker-compose up -d
```
Goto : [localhost:9999/](http://localhost:9999/)

This is the simple plugin that counts the views of the your wordpress website and store the views in the database

For this repository i would like to give full credits to [AnkitaTanti](https://github.com/AnkitaTanti).
Expand Down
17 changes: 17 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: '3.1'

services:

wordpress:
image: wordpress
ports:
- 9999:80
environment:
WORDPRESS_DB_PASSWORD: example
volumes:
- ./:/var/www/html/wp-content/plugins/wp-post-views

mysql:
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: example

0 comments on commit 5655648

Please sign in to comment.