Giter Club home page Giter Club logo

sscait-web's Introduction

SSCAIT web

  • This is an implementation of the web frontend for Student StarCraft AI Tournament (SSCAIT): http://sscaitournament.com/
  • It only makes sense to use this project as an add-on to SSCAIT Tournament Manager from this repository: https://github.com/certicky/sscait-tournamentmanager
  • This web frontend should typically be hosted on the Host machine of SSCAIT Tournament Manager, where its database also runs (see https://github.com/certicky/sscait-tournamentmanager).
  • Warning: This implementation is a complete spaghetti code mess. It's a hack on top of a hack and quick patch on top of a quick patch. None of this was designed to be used for more than one semester, yet here we are, 12 years later, still running it. Fun!

diagram-small

Fig.1: Project Architecture Diagram

Installation

  • Install web server of your choice and PHP 7 or newer compatible version.
  • Make sure you have MySQL server up and running and that it contains the sc database and a user with all the required privileges.
  • Clone this repository and update your webserver's settings so that the www/index.php from the repo is served by it.
  • Make a copy of settings_server.php.template and name it settings_server.php. Update the values inside like this:
    • $GLOBALS["ADMIN_EMAIL"]: email to which the info emails are sent (your email)
    • $GLOBALS["BOTS_FOLDER_WITHOUT_SLASH"]: folder containing the bots files - part of the set up of SSCAIT Tournament Manager
    • $GLOBALS["REPLAYS_FOLDER_WITHOUT_SLASH"]: folder containing the saved replay files - part of the set up of SSCAIT Tournament Manager
    • $GLOBALS["CACHE_FOLDER_WITHOUT_SLASH"]: folder reserved for data caching - just create an empty folder and give web server user the read & write permissions
    • $db_host, $db_username, $db_password: database credentials
    • $GLOBALS["SMTP_*"]: credentials for whatever external SMTP service we're using to send emails to bot authors and to admin (e.g. https://www.sendinblue.com/)
  • If everything went well, the web should be accessible at a location determined by your web server - usually http://localhost/ or http://localhost:8080.

sscait-web's People

Contributors

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