Datavines website is compiled using node, using Docusaurus framework components
Download and install nodejs (version>12.5.0)
Clone the code to the local git clone https://github.com/datavane/datavines-website.git
Run npm install
to install the required dependent libraries.
Run npm run start
in the root directory, you can visit http://localhost:3000 to view the English mode preview of the site
Run npm run start -- --locale zh-CN
in the root directory, you can visit http://localhost:3000 to view the Chinese mode preview of the site
Run npm run build
. The static resources of the build are in the build directory.