mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-08 20:12:23 +00:00
Merge branch 'master' into android-maven-build-bug3190
Conflicts: java/com.sap.sailing.domain.common/pom.xml java/com.sap.sailing.domain.shared.android/pom.xml java/com.sap.sailing.server.gateway.serialization.shared.android/pom.xml java/com.sap.sse.common/pom.xml java/com.sap.sse.datamining.annotations/pom.xml java/com.sap.sse.security.common/pom.xml java/org.json.simple/pom.xml java/pom.xml mobile/com.sap.sailing.android.shared/pom.xml mobile/com.sap.sailing.racecommittee.app/pom.xml mobile/pom.xml pom.xml
This commit is contained in:
commit
fca622efa7
4 files changed
+48
-4
No files matched your search
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
CACHE=/var/log/old/cache/unique-ips-per-referrer
|
||||
VISITED_FILES=$CACHE/visited
|
||||
STATS=$CACHE/stats
|
||||
MONTHS=$STATS/months
|
||||
|
||||
for month in `cat $MONTHS`; do
|
||||
for i in ${STATS}/*.ips; do
|
||||
echo -n "`basename $i .ips` "
|
||||
cat $i | grep "^[^ ]* [0-9]*/$month .*" | sort -u | wc | awk '{ print $1; }'
|
||||
# TODO consider producing an AWStats configuration file for each virtual host name and splitting all new logs into virtual host name-specific log files
|
||||
done | tee $STATS/unique-ips-days-useragents-per-event-`echo $month | tr / -`
|
||||
echo "Wrote per-month results to $STATS/unique-ips-days-useragents-per-event-$month"
|
||||
done
|
||||
echo "Done."
|
||||
@@ -0,0 +1,26 @@
|
||||
#!/bin/bash
|
||||
|
||||
CACHE=/var/log/old/cache/unique-ips-per-referrer
|
||||
VISITED_FILES=$CACHE/visited
|
||||
STATS=$CACHE/stats
|
||||
MONTHS=$STATS/months
|
||||
|
||||
for i in ${STATS}/*.ips; do
|
||||
echo -n "`basename $i .ips` "
|
||||
cat $i | sort -u | wc | awk '{ print $1; }'
|
||||
# TODO consider producing an AWStats configuration file for each virtual host name and splitting all new logs into virtual host name-specific log files
|
||||
done | tee $STATS/unique-ips-days-useragents-per-event
|
||||
echo "Wrote total results to $STATS/unique-ips-days-useragents-per-event"
|
||||
|
||||
|
||||
# Now filter and group by month
|
||||
cat ${STATS}/*.ips | awk '{ print $2; }' | sed -e 's/^[0-9]*\///' | sort -u >$MONTHS
|
||||
for month in `cat $MONTHS`; do
|
||||
for i in ${STATS}/*.ips; do
|
||||
echo -n "`basename $i .ips` "
|
||||
cat $i | grep "^[^ ]* [0-9]*/$month .*" | sort -u | wc | awk '{ print $1; }'
|
||||
# TODO consider producing an AWStats configuration file for each virtual host name and splitting all new logs into virtual host name-specific log files
|
||||
done | tee $STATS/unique-ips-days-useragents-per-event-`echo $month | tr / -`
|
||||
echo "Wrote per-month results to $STATS/unique-ips-days-useragents-per-event-$month"
|
||||
done
|
||||
echo "Done."
|
||||
+6
-4
@@ -67,11 +67,13 @@ First of all, make sure you've looked at http://www.amazon.de/Patterns-Elements-
|
||||
* Rebuild all projects
|
||||
4. Run the Race Analysis Suite
|
||||
* Start the MongoDB
|
||||
* Start the appropriate Eclipse launch configuration (e.g. 'Sailing Server (Proxy)') You´ll find this in the run dropdown
|
||||
* Run "Security UI sdm" in the run dropdown
|
||||
* Run "SailingGWT" in the run dropdown
|
||||
5. Within the Race Analysis Suite
|
||||
* Start the appropriate Eclipse launch configuration (e.g. 'Sailing Server (Proxy)') You´ll find this in the debug dropdown
|
||||
* Run "Security UI sdm" in the debug dropdown
|
||||
* Run "SailingGWT" in the debug dropdown
|
||||
5. Import races within the Race Analysis Suite
|
||||
* Choose "Security UI sdm" in the upper left corner of the "Development Mode" Tab in Eclipse and open "...Login.html" in your browser
|
||||
* Default Login: user "admin", password "admin"
|
||||
* Choose "Sailing GWT" in the "Development Mode" Tab and open "...AdminConsole.html..." (It is normal that the first try fails. Reload the page after the first try)
|
||||
* For TracTrac Events: (Date 27.11.2012) Use Live URI tcp://10.18.22.156:4412, Stored URI tcp://10.18.22.156:4413, JSON URL http://germanmaster.traclive.dk/events/event_20120905_erEuropean/jsonservice.php
|
||||
* Press List Races
|
||||
|
||||
|
||||
Reference in new issue
Block a user