# game-front **Repository Path**: bovver/game-front ## Basic Information - **Project Name**: game-front - **Description**: No description available - **Primary Language**: JavaScript - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-03-17 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Game-front This README outlines the details of collaborating on this Ember application. A short introduction of this app could easily go here. ## Prerequisites You will need the following things properly installed on your computer. * [Git](http://git-scm.com/) * [Node.js](http://nodejs.org/) (with NPM) * [Bower](http://bower.io/) * [Ember CLI](http://ember-cli.com/) * [PhantomJS](http://phantomjs.org/) ## Installation * `git clone ` this repository * `cd game-front` * `npm install` * `bower install` ## Running / Development * `ember serve` * Visit your app at [http://localhost:4200](http://localhost:4200). ### Code Generators Make use of the many generators for code, try `ember help generate` for more details ### Running Tests * `ember test` * `ember test --server` ### Building * `ember build` (development) * `ember build --environment production` (production) ### Deploying Specify what it takes to deploy your app. ## Further Reading / Useful Links * [ember.js](http://emberjs.com/) * [ember-cli](http://ember-cli.com/) * Development Browser Extensions * [ember inspector for chrome](https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi) * [ember inspector for firefox](https://addons.mozilla.org/en-US/firefox/addon/ember-inspector/) ##deploy to nginx * 配置路径拦截 location /yydb/ { root /usr/share/nginx/html; index index.html index.htm; try_files $uri $uri/ /yydb/index.html; } * 开启gzip压缩 gzip on; gzip_min_length 1k; gzip_buffers 4 16k; gzip_comp_level 5; gzip_types text/plain application/x-javascript application/javascript text/css application/xml text/javascript application/x-httpd-php; * 生成分享二维码链接地址 http://game.inkanke.com/app/index.php?i=4&c=entry&do=util&m=ewei_shop&p=createQR&openid=oFSaywvH_ZHLuqOR9FawoZwKdR70&content=guanzhu 1、调用上述地址生成二维码,二维码生成后会将二维码图片的链接地址放入表ims_ewei_shop_poster_qr中 2、查询字段qrimg得到二维码图片地址,并显示