Coder Social home page Coder Social logo

clean-master / phpdts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from amarillonmc/phpdts

0.0 0.0 0.0 85.21 MB

New repo for Yellow Version of phpbr

License: MIT License

Shell 0.01% JavaScript 8.22% PHP 53.26% CSS 0.14% Hack 0.10% HTML 38.26% Batchfile 0.01% Dockerfile 0.01%

phpdts's Introduction

常磐大逃杀(PHP Battle Royale)

A PHP based game emulating the settings and gameplay of the original Battle Royale series, with a lot of original spin and an original story with tons of references to pop culture.

依赖

  • PHP 7.4.30/5.6
  • PDO (PHP Data Objects) extension
  • composer(可选)

安装

git clone https://github.com/amarillonmc/phpdts.git
cd phpdts
composer install    #可选

之后打开 http://domain/path_to_dts/install.php 根据提示完成后续安装。

守护进程

bash ./bot/bot_enable.sh

可以使用 nohup,screen 等程序防止进程被结束。

开发注意

  1. 使用composer install安装依赖
  2. 可以使用./yii serve来启动开发版服务器
  3. 修改config/configuration.php之后一定要运行composer du来重新生成.merge-plan.php
  4. 目前只加入了srcconfig文件夹,demo文件见C:\git\phpdts\src\Controller\HomeController.php
  5. 可以使用Yii Dev Panel来调试
  6. 数据库配置请修改 config\common\params.php,默认使用Yiisoft\Db\Mysql\ConnectionPDO
  7. 目前只用了yii serve -t .-t参数是必要的,用来指定docroot,不然访问不到静态文件,使用php原生自带的Routing file功能做路由,nginx和.htaccess在做了在做了

phpdts's People

Contributors

amarillonmc avatar hikawiier avatar clean-master avatar winddramon avatar nahakyuu avatar satsuki8 avatar luluxia avatar imgbotapp avatar w2040w 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.