Make sure the git submodules are present! If not, run git submodule init && git submodule update.
npm install --dev
npm run buildBuild output will be located at /dist.
To analyze the webpack bundle, use npm run analyze.
Passing an environment variable named AKSO_BASE overrides the API url (default: https://api.akso.org/v1).
- All files in
distshould be served at/ - All files in
assetsshould be served at/assets - Additional files to be served at
/:src/manifest.jsonassets/apple-touch-icon.png
- All unrecognized URLs should fall back to
dist/index.html assets/insecure-contentshould have a lax content security policy that allows for inline styles. This is used to preview rendered HTML.
Also see test-server.js for reference (or for testing).
To start the dev server, run:
npm run devThis project is licensed under the GPL 3 or later.