Duocun is a food delivery website
Nodejs Mongodb
git clone project
cd to project root folder /, (remove package-lock.json), then run npm install
for server
cd to /client folder, (remove package-lock.json), then run npm install
for client
copy duocun.cfg.json file to the parent folder of root /
cd to project root folder /, and run npm run build
then npm run start
or open Visual Studio Code and hit Debug menu.
cd to /client and run ng serve --port 5000
cd to /client then run ng xi18n --output-path locale
and under the locale folder you will see messages.xlf, use your merge tools merge the differences to messages-zh-Hans.xlf, and add to your new items to be translate.
run ng serve --port 5000 --configuration=zh-Hans
run ng build --prod --i18n-file src/locale/messages.zh-Hans.xlf --i18n-format xlf --i18n-locale zh-Hans