Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Mar 14, 2024. It is now read-only.

mozilla/games.mozilla.org

Repository files navigation

Mozilla Games

Mozilla Games site

Installation

To install the Node dependencies:

npm install

Development

All of the web content is static (see the https://github.com/mozilla/moz-games/tree/master/public directory).

To serve the site from the simple server:

npm run dev

Then launch the site from your favourite browser:

http://localhost:8080/

If you wish to serve the site from a different port:

PORT=8000 npm run dev

Deployment

In production, the server is run like so:

npm start

Alternatively:

npm run prod

To run the server through Heroku's foreman:

foreman start web

Localisation

All webpage content is localised using webL10n, a client-side library for internationalisation (i18n) / localisation (l10n).

If you would like to submit new translations:

  1. Ensure a section exists for the locale in l10n/locales.ini, followed by an import rule. For example:

    [fr]
    @import url(data.fr.properties)
  2. Open the corresponding .properties file, and fill in all the translations.

  3. Open a pull request.

Contributing

Contributions are very welcome!

About

INACTIVE - Mozilla Games site

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7

AltStyle によって変換されたページ (->オリジナル) /