diff options
author | Matthieu Aubry <matt@piwik.org> | 2013-10-30 01:24:17 +0400 |
---|---|---|
committer | Matthieu Aubry <matt@piwik.org> | 2013-10-30 01:24:17 +0400 |
commit | b6ca190432ba6728ef8238d071a76fec7ce2f90f (patch) | |
tree | 2775bde058bdf6bc4f3f08b7cf5e2a2448c00878 /tests/README.testing-data.md | |
parent | 6ecec48db5d2b0f2f9fcf7bf8349c961dee938a3 (diff) |
Create README.testing-data.md
Diffstat (limited to 'tests/README.testing-data.md')
-rw-r--r-- | tests/README.testing-data.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/README.testing-data.md b/tests/README.testing-data.md new file mode 100644 index 0000000000..65751a6760 --- /dev/null +++ b/tests/README.testing-data.md @@ -0,0 +1,14 @@ +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/ /path/to/piwik/tests/resources/access.log-dev-anon-9-days-nov-2012.log.bz2 --idsite=1 --enable-http-errors --enable-http-redirects --enable-static --enable-bots + + 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/misc/cron/archive.php --url=http://localhost/path/ + +You should now have some interesting data to test with in November 2012! |