SmashGrade / SmashGrade-App

https://www.smashgrade.ch
3 stars 0 forks source link

Start application

First install the packages:

npm i

To start only the React app use this command:

npm run dev

If you want to start the React app with the json-server run this command:

npm run dev-db

To run the build for production use:

npm run build

To run eslint and prettier use:

npm run lint && npm run format

I18N

To extract the messages from the source code use either of the following:

npm run extract-de # extract German messages
npm run extract-en # extract English messages
npm run extract-fr # extract French messages

Before compiling the messages make sure that the messages are translated correctly in the previously extracted file. To compile the messages use either of the following:

npm run compile-de # compile German messages
npm run compile-en # compile English messages
npm run compile-fr # compile French messages