- Install dependencies on
backendandfrontend. - Create a copy of
backend/config.def.jsonbackend/config.jsand edit it. - Set environtment variable
PORT(default is 5000) - Build frontend.
- Run migrations with Knex (
cd backend && yarn migrate)
Run the following commands in the corresponding directories to start TWIN:
- Start the backend with
yarn dev(oryarn startfor production). - Start the frontend with
yarn startfor development, or build it for production withyarn build.
Add limit property to payload.
Remove universal property from metadata and each translation.
Inverse the default value of blacklist.
Add metadata property to payload to reflect new collection file structure.
Add fileName property to translations to indicate which file (collection) they belong to.
Add anti-piracy values to payload (%%__USER__%% as user, %%__RESOURCE__%% as resource and %%__NONCE__%% as nonce).
Add _twin object (with id, dateCreated, dateUpdated, tags).
Add id property to sign group locations.
Add mainLanguage property to payload.
Implement patching on save payload.
{ // ... "limit": { "collections": ["collection1", "collection2"], "languages": ["en_GB"] } // ... }