1 PlayJam GameStick API server
2 ****************************
4 Makes PlayJam GameSticks usable after the official server had been shut down
11 1. Copy ``config.php.dist`` to ``config.php``
12 2. Clone the `game data repository <https://codeberg.org/gamestick-fans/game-data>`_::
14 $ git clone https://codeberg.org/gamestick-fans/game-data.git
15 3. Unpack one of the cache files::
18 $ gunzip -k caches/2017-01-12T00\:19\:12-alex.shorts.pretty.json.gz
19 4. Generate the popular and featured menus from the cache file::
21 $ ./bin/list-popular.php 'caches/2017-01-12T00:19:12-alex.shorts.pretty.json' > ../cache/popular.txt
22 $ ./bin/list-featured.php 'caches/2017-01-12T00:19:12-alex.shorts.pretty.json' > ../cache/featured.json
23 5. Fill the caches for this API::
26 $ ./bin/generate-apps-cache.php game-data/classic/
27 6. Setup the Apache web server and point the virtual host to the ``www/`` directory.
32 This server software was written by `Christian Weiske <https://cweiske.de/>`_
33 and is licensed under the AGPL v3.