Code Monkey home page Code Monkey logo

chaoticsession's Introduction

#ChaoticBots

This is a the testing framework for ChaoticBots -- training bots

It features the following technologies:

Development

Clone this repository npm i to install the dependencies (Node 4+, NPM 3+) Open another terminal (you need two of those) npm run start-server on the first terminal to start the server bit npm run start-ui on the second terminal, to run live webpack with hot-reload Open your browser on http://localhost:8081

also test the program by running npm run startx to open an app on port 3000, and npm run starty for app on post 8080 The apps on different servers will communicate through redis, and share all text messages among users

Production

  • Clone this repository
  • npm i to install the dependencies (Node 6+, NPM 4+)
  • npm run build to build everything (client and server)
  • npm start to run the server on port 8080
  • Open your browser on http://localhost:8080

How to use MongoDB

By default, the database engine is mLab, an in-process database with no external dependencies (i.e. no database to install on your system).

Det DB_Use_Mongo to true.

How to enable SocketIO anti-spam

It's very easy to abuse a SocketIO connection, by running some code in your console and doing io.emit('spam') in an infinite loop to create a DOS attack on the server.

To enable a rate-limiting fix for this attack, set Use_Anti_Spam to true in the config file.

chaoticsession's People

Contributors

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