2019-10-31 17:54:27 +01:00
|
|
|
# Calculate WordPress usage worldwide
|
|
|
|
|
|
|
|
The following script will analyze the list of the first million domains with the most visits to give you the percentage of use.
|
|
|
|
|
|
|
|
Warning that it can take a long time: between 20 to 30 days.
|
|
|
|
|
2019-10-23 19:50:50 +02:00
|
|
|
## Requirements
|
|
|
|
|
|
|
|
To run it you'll need either 2Gb of RAM or a swap file of the same size.
|
|
|
|
|
2019-10-10 17:11:38 +02:00
|
|
|
## Install
|
|
|
|
|
2019-10-10 17:27:05 +02:00
|
|
|
``` sh
|
|
|
|
sudo apt install clojure leiningen wget make
|
|
|
|
```
|
2019-10-10 17:11:38 +02:00
|
|
|
|
2019-10-10 00:37:22 +02:00
|
|
|
## Prepare
|
|
|
|
|
2019-10-10 17:27:05 +02:00
|
|
|
``` sh
|
2019-10-10 17:22:55 +02:00
|
|
|
make prepare
|
2019-10-10 17:27:05 +02:00
|
|
|
```
|
2019-10-10 00:37:22 +02:00
|
|
|
|
|
|
|
## Run
|
|
|
|
|
2019-10-10 17:27:05 +02:00
|
|
|
``` sh
|
2019-10-10 17:22:55 +02:00
|
|
|
make run
|
2019-10-10 17:27:05 +02:00
|
|
|
```
|
2019-10-31 17:54:27 +01:00
|
|
|
|
|
|
|
When all the CSV sites are analyzed, you can see the final figure by running the following script
|
|
|
|
|
|
|
|
## Calculate percentage
|
|
|
|
|
|
|
|
``` sh
|
|
|
|
bash calculate-percentage.sh
|
|
|
|
```
|
|
|
|
|
|
|
|
## Historical
|
|
|
|
|
|
|
|
### 2019
|
|
|
|
|
|
|
|
19%
|