Giter Site home page Giter Site logo

scummvm-web's Introduction

ScummVM-Web

This project is the main ScummVM website located at: https://www.scummvm.org

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

The ScummVM website relies on several tools to install properly. Before installing please make sure you have the following installed:

  • PHP
    • PHP YAML extension. Install via pecl install yaml or sudo apt install php-yaml
    • The version of PHP included with macOS doesn't include PECL, so you'll need to install a different version of PHP through Homebrew or another method
    • Alternatively on macOS you can use MacPorts to install both PHP and yaml (for example to use PHP 7.4 sudo port install php74 php74-yaml php74-iconv php74-intl php74-mbstring php74-sqlite ; sudo port select --set php php74)
  • Composer
  • Python & pip (2.7.9+/3.4+)
  • Node.js & npm
  • Git
  • Glue
  • Redis (Optional)

Installing & Developing

Clone this repo

git clone https://github.com/scummvm/scummvm-web.git

To run the a development version of the site and start a local web server on port 8000, run:

composer develop

To build for production simply run:

composer build

Deployment

To deploy changes to the official ScummVM website, simply go to the website admin page and click the "ScummVM.org manual site update" link.

Updating data

Most data is now managed upstream in a spreadsheet. To re-generate the data files run composer update-data note that this will run automatically on site update but is encouraged for you to do manually to keep track on who's updating the data.

Disabling cache

During development, you can disable data caching by creating a file called .no-cache in the root folder.

Contributing

Similar to ScummVM, please use the appropriate project name when contributing:

  • I10N: Modifications related to translations.
  • CSS: Changes to stylesheets.
  • TEMPLATES: Changes to page and component templates.
  • IMAGES: Site graphics (Icons are excluded).
  • ICONS: New game and platform Icons. Please see the Wiki for updated submission guidelines.
  • DATA: Site data files.
  • BUILD: Files related to building and developing the site.
  • WEB: Catch-all for things that don't fit any of the above, or a mix of multiple components in a single commit.

Code Style

YAML files should adhere to the Flathub YAML Style Guide.

PHP files use phpcbf. Please run composer lint before committing code.

scummvm-web's People

Contributors

antoniou79 avatar aquadran avatar bgk avatar bluegr avatar clone2727 avatar criezy avatar csnover avatar digitall avatar djsrv avatar djwillis avatar dreammaster avatar drmccoy avatar enderboi avatar fingolfin avatar ilducci avatar jonathangray avatar joostp avatar jvprat avatar lotharsm avatar marcosoutsider avatar mataniko avatar materiagris avatar scummvm-translations avatar sev- avatar strangerke avatar supsuper avatar tag2015 avatar thunderforge avatar tobiatesan avatar wjp avatar

Watchers

 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.