GithubHelp home page GithubHelp logo

gameanalytics's Introduction

GameAnalytics 游戏统计分析系统

##安装方法 ###搭建apache/nginx + php5,mongodb-server安装,安装php的mongo扩展。
centos:
php环境安装:yum install php
mongodb安装:yum install mongodb-server
php的mongo扩展安装:yum install php-mongo

启动apache:apachectl start
启动mongo-server:service mongod start

ubuntu:
apache安装:apt-get install apache2
php安装:apt-get install php5
apache的php模块安装:apt-get install libapache2-mod-php5
mongodb:apt-get install mongo
php扩展安装:apt-get install php5-mongo

以上安装方法凭记忆写的,不保证完全没问题,搞不定,自己百度吧

###代码布署
git clone将代码放到web目录中,如/var/www/html
生成测试数据:http://192.168.0.6/GameAnalytics/Web/Api/api.php?method=Install.run
登录管理后台:http://192.168.0.6/GameAnalytics/Web/Admin/admin.php
登录帐号和密码都是:admin
在线demo地址:http://47.90.45.126:81/GameAnalytics/Web/Admin/admin.php

###定时分析
可以手动执行以下命令执行分析任务,或者将其加入到crontab中定时执行
php /var/www/GameAnalytics/Web/Cli/cli.php Api.doStats 游戏ID 服务器ID
如:
php /var/www/GameAnalytics/Web/Cli/cli.php Api.doStats 1000 10

###注意事项
1,目录后台仅兼容firefox和google浏览器,其它浏览器后续更新
2,演示服务器在香港,访问比较慢,请耐心等待,推荐在自己本地或内网搭建,有比较好的浏览效果。

###联系方式
微信:lchb5288
QQ:910433696

gameanalytics's People

Contributors

uther518 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.