You should check that nodejs >= 12.0
is installed.
In the project, you can run some built-in commands:
If node_modules
is not installed, you should first run npm install
or yarn install
.
Use or yarn dev
to run the application in development mode.
If you edit, the page will reload. You will also see any lint errors in the console.
The start of the web server depends on the back-end server manger api
interface.
You should start the backend server first, and then set the variable target
in /inlong-website/src/setupProxy.js
to the address of the api service.
Run or yarn test
Build
First, make sure that the project has run npm install
or yarn install
to install node_modules
.
Run or yarn build
.
Build the application for production into the build folder. Better page performance can be obtained in the constructed production mode.
After the build, the code is compressed, and the file name includes the hash value. Your application is ready to be deployed!