Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2015-02-04 02:05:20 +0300
committerThomas Steur <tsteur@users.noreply.github.com>2015-02-04 02:05:20 +0300
commiteb444892b6ec63c292996f263a34e02eb3394d10 (patch)
treeb24978a23b3b57289270bc0e8b92289c4d055de4 /tests/README.testing-data.md
parenta26179a97f85baceb3e7875bba4decc703f1c7c1 (diff)
Explain how to generate testing-data via VisitorGenerator
Ideally this would be only on developer.piwik.org but I think it is not explained there - yet.
Diffstat (limited to 'tests/README.testing-data.md')
-rw-r--r--tests/README.testing-data.md21
1 files changed, 7 insertions, 14 deletions
diff --git a/tests/README.testing-data.md b/tests/README.testing-data.md
index 63431a3966..2f926b3966 100644
--- a/tests/README.testing-data.md
+++ b/tests/README.testing-data.md
@@ -1,16 +1,9 @@
As a developer it may be useful to generate test data. Follow these steps:
-1. Install Piwik
-2. Create a site with URL http://piwik.org/
-3. Create a Goal eg. URL Contains "blog"
-4. Import data from an anonimized test log file in piwik/tests/resources/ directory. Run the following command:
-
- $ python /home/piwik/misc/log-analytics/import_logs.py --url=http://localhost/path/ --idsite=1 --enable-http-errors --enable-http-redirects --enable-static --enable-bots /path/to/piwik/tests/resources/access.log-dev-anon-9-days-nov-2012.log.bz2
-
- This will import 9 days worth of data from Nov 20th-Nov 29th 2012.
-
-5. You can then archive the reports with:
-
- $ php5 /home/piwik/console core:archive --url=http://localhost/path/
-
-You should now have some interesting data to test with in November 2012!
+* Install Piwik, for help see [Setting up Piwik](http://developer.piwik.org/guides/getting-started-part-1#getting-setup-to-extend-piwik)
+* Install and activate the `VisitorGenerator` plugin via the Marketplace if needed
+* Generate websites `./console visitorgenerator:generate-websites --limit=50`
+* Generate users `./console visitorgenerator:generate-users --limit=50`
+* Generate goals for a website `./console visitorgenerator:generate-goals --idsite=1`
+* Generate visits for a website `./console visitorgenerator:generate-visits --idsite=1`
+* Trigger the archiving in case browser archiving is disabled `./console core:archive --url=http://localhost/path/`