X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=blobdiff_plain;f=README;h=a692139aa6da7c5ced84ec6271fb4a0764520475;hp=599bcdb94e1a0e670a66c853faa6da91ec6ce129;hb=71a123df898044213dd6703c036d6bbbea7f7f8f;hpb=7df3bbda08d2305fc9149db3adc007bfd1d4bbf5 diff --git a/README b/README index 599bcdb..a692139 100644 --- a/README +++ b/README @@ -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