X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=blobdiff_plain;f=README;h=08815537541cfed6e2987f3ecef5aef5d71c6665;hp=599bcdb94e1a0e670a66c853faa6da91ec6ce129;hb=HEAD;hpb=7df3bbda08d2305fc9149db3adc007bfd1d4bbf5 diff --git a/README b/README index 599bcdb..0881553 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -Static resources for the htttps://lmno.games/ website +Static resources for the https://lmno.games/ website This repository contains the static HTML, JavaScript, and CSS files used by the lmno.games website, including support for downloading and @@ -7,10 +7,19 @@ verifying 3rd-party resources that are needed. The following Makefile targets will be useful while developing this code: - make deps: Download 3rd-party resources to be served by lmno.games + make: Download and build JavaScript resources in development mode - make dev: Configure development versions of "make deps" resources + make LMNO_BUILD=production: As above but in production mode - make prod: Configure production versions of "make deps" resources + make deploy: Deploy latest, committed, production-mode content to lmno.games - make deploy: Deploy latest, committed static content to lmno.games +Dependencies +------------ +Compiling the source requires the babel (version 6) CLI to be +available as "babeljs" along with the "react" preset and support for +"object spread" syntax. This can be achieved on Debian with: + + sudo apt install \ + node-babel-cli \ + node-babel-preset-react \ + node-babel-plugin-transform-object-rest-spread