Giter Site home page Giter Site logo

kisskillkiss / nanoserver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kirk-wang/nanoserver

1.0 2.0 0.0 46.93 MB

DEMO: Mahjong server base on nano(https://github.com/lonng/nano)

License: MIT License

Go 97.96% Shell 0.74% Batchfile 0.06% Smarty 0.15% HTML 1.09%

nanoserver's Introduction

nanoserver

这是为了学习 fork 的项目,源地址是:nanoserver

我弄的完整调试教程:探索 Golang 云原生游戏服务器开发,硬核实战之调试 NanoServer 生产级麻将游戏服务器

docker compose 本地调试或二次开发

清理数据

docker volume ls
docker volume rm nanoserver_db_data

启动 mysql & adminer

docker-compose -f docker-compose.mysql.yaml up
# docker-compose -f docker-compose.mysql.yaml down

Detached mode: Run containers in the background

docker-compose -f docker-compose.mysql.yaml up -d
docker-compose -f docker-compose.mysql.yaml ps

进入:http://localhost:8086/,管理数据库

启动服务器

开发:

docker-compose -f docker-compose.dev.yaml up scmj
# docker-compose -f docker-compose.dev.yaml down

调试:

docker-compose -f docker-compose.dev.yaml up scmj-debug
# docker-compose -f docker-compose.dev.yaml down

nanoserver's People

Contributors

chaoqi2080 avatar kirk-wang avatar lazykris avatar lingkeyang avatar lonng avatar neotype avatar

Stargazers

 avatar

Watchers

 avatar  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.