GithubHelp home page GithubHelp logo

mtxserv / gload Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 879 KB

An incredible loading screen web application for your Garry's Mod server

License: Apache License 2.0

Makefile 1.74% PHP 81.40% CSS 2.82% JavaScript 7.79% Dockerfile 1.80% HTML 4.45%

gload's Introduction

gLoad Header

gLoad

gLoad is a Garry's Mod loading-screen designed with frontend developers in mind. The goal is to let developers create their own loading-screen in a super-easy way.

What is it

Designed for frontend developers, gLoad is a Garry's Mod loading screen including a complete admin panel. If you are a server owner, you'll appreciate it for its robustness. If you are a frontend developer, stop waiting and start creating a theme for gLoad !

Installing

Installing through Docker (dev only)

  1. Clone the repository with Git : git clone https://github.com/Gabyfle/gLoad
  2. Init docker containers : make install
  3. Follow the installation instruction

Installing through Composer

  1. Clone the repository with Git : git clone https://github.com/Gabyfle/gLoad
  2. Create the autoloader with Composer : composer install
  3. Follow the installation instruction

Installing a release

  1. Download the latest release here : gLoad/releases
  2. Drag'n'drop the release in your web-host's server (can be done with any FTP client)
  3. Follow the installation instruction

Developers

Your are a developer and you wanted to know how gLoad theming is working ? See : THEME_STRUCTURE.md for more informations.

How does it works

Every theme is located in its own folder in the theme folder. When the page is loaded, the PHP script get the theme's name in the config.ini file and load the theme located in themes/<theme-name>/.

gLoad allows you to use built-in Javascripts functions to get data from Garry's Mod.

Using Docker in your environment

Start using Docker to start contributing to gLoad!

Installation
make install
Start
$ make start
Stop
$ make stop
List container
$ docker-compose ps
Useful commands
# Get mysql 
$ docker-compose exec mysql bash
$ mysql .. mtxserv < mtxserv.sql
# Get bash
$ docker-compose exec php bash
# Composer (e.g. composer update)
$ docker-compose exec php-cli composer update

Credits

Front-end development

  • JQuery write less, do more.
  • popper.js A kickass library used to manage poppers in web applications.
  • Bootstrap the world’s most popular front-end component library.

Back-end development

  • gSteam-Auth An object oriented Steam authentication PHP library.
  • write_ini_file Write and modify a parameter in an ini file.
  • get_latest_release_name Gets the latest release (includes pre-releases) name (based on Tag names) of a Github-hosted repository.
  • composer Dependency Manager for PHP.

License

This code is distributed free of charge under the Apache 2.0 license. The code is distributed "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND. For more information, please visit LICENSE

gload's People

Watchers

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