Coder Social home page Coder Social logo

10kgames's Introduction

10kGames

Super awesome multiplayer online gamimg portal fitting in just 10k of code ;)

Obtaining repository

  • after pull/clone, npm and composer dependencies need to be installed/updated
  • you can do so by running npm install and composer install
  • important note: npm dependencies are needed only for frontend development (not on server), but composer dependencies must be present also on deploy server

Deployment

Just a few tips for easy deployment of this project ;)

  • place all the files into web root folder
  • make sure server directory isn't accessible through web
  • crucial step: php server/index.php command must be running all the time (WebSocket server, app won't work without it) - use something like supervisord to do it
  • important note: make sure vendor folder is present and updated to the latest version (see Obtaining repositary)

Frontend development

  • make sure node_modules folder is present and updated to the latest version (see Obtaining repository)
  • run grunt watch to start JS&CSS watcher
  • run grunt to manually build JS&CSS
  • important note: grunt is needed to build frontend resources. Never edit build.js|css manually!

10kgames's People

Contributors

davidindra avatar szymsza avatar

Watchers

 avatar  avatar

10kgames's Issues

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.