https://github.com/datavane/datavines-website
https://github.com/datavane/datavines-website
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/datavane/datavines-website
- Owner: datavane
- License: apache-2.0
- Created: 2022-12-28T09:08:33.000Z (over 3 years ago)
- Default Branch: dev
- Last Pushed: 2025-02-14T14:33:26.000Z (over 1 year ago)
- Last Synced: 2025-03-20T17:21:22.548Z (over 1 year ago)
- Language: Less
- Size: 12.4 MB
- Stars: 8
- Watchers: 2
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Datavines website is compiled using node, using Docusaurus framework components
#### Environment Preparation
Download and install nodejs (version>12.5.0)
#### Download Code
Clone the code to the local `git clone https://github.com/datavane/datavines-website.git`
#### Install Dependencies
Run `npm install` to install the required dependent libraries.
#### Start English version of the website
Run `npm run start` in the root directory, you can visit http://localhost:3000 to view the English mode preview of the site
#### Start Chinese version of the website
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
#### Generate static website resource files
Run `npm run build`. The static resources of the build are in the build directory.