Front end of gramene main and subsites
Install dependencies
npm installThis hack is necessary to get Parcel to transpile imported node modules correctly.
Edit node_modules/@parcel/core/lib/summarizeRequest.js
Change return !filePath.includes(NODE_MODULES);
to return true;
Start a site in development mode
npm run main
npm run maize
npm run grapevine
...Build a site for production
node build.js [-h] [-m MODE] siteWhen updating the search index for a site, you have to change the grameneData field in conf/site.json and the gramene.defaultServer in html/site.html
Whe you configure a new site, you need to create conf/site.json and html/site.html and also add it to conf/index.js and package.json