Code Monkey home page Code Monkey logo

lordofpomelo-1's Introduction

背景

网易 lordofpomelo 项目年久失修,依赖库的版本存在各种问题,导致无法按照官方文档正常运行。本库是修复了系列问题可运行版本。

主要修改

  1. mysql、generic-pool 两个库使用最新版本且固定大版本号
  2. 修复 express 版本与其依赖的 mime 库版本不兼容的情况
  3. 修正因依赖库升级带来 API 的变动问题
  4. 修正 web-server 下 component 打包输出文件中的错误

运行指南

  1. 运行根目录的 npm-install.sh,等待依赖安装完毕
  2. 使用 game-server/config/scheme/Pomelo.sql 创建项目数据库
  3. 修改 shared/config/mysql.json 数据库连接配置
  4. 分别开启游戏服务器与 Web 服务器
    1. pomelo start -e development
    2. node app
  5. 浏览器打开 http://127.0.0.1:3001/,开始体验吧

附录

  1. NetEase/lordofpomelo
  2. lordofpomelo 安装指引

lordofpomelo-1's People

Contributors

yangfch3 avatar

Watchers

James Cloos 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.