- Node >=12.14.0
- yarn
- Execute command
yarn install
To add environment variables create .env file in the root of the project.
Available variables:
# one of: prod, dev, stag
ENV=
# for production write url path here
BASE_URL=
BROWSER_PORT=3000
# non-mandatory. specify languages that need to be rendered, example: en,de,es,cz...
LANGUAGES=
- Change
ENVenvironment variable todev - Execute command
yarn develop
- Change
BASE_URLenvironment variable to your domain - Execute command
yarn build. This will build project to/distfolder
- If gulp commands do not work, try install gulp globally
yarn syncTerms- will sync 'po' terms from/localesfolder on git with POeditor. YOU MUST CONFIGURE WEBHOOKS IN POEDITOR AND CHANGE KEYS IN FILEbin/config.jsyarn exportTerms- will export new translations from POeditor to/locales. YOU MUST CONFIGURE WEBHOOKS IN POEDITOR AND CHANGE KEYS IN FILEbin/config.jsyarn parseTerms