This project uses C++ for core algorithms and high-performance computing, and Java for application layer development.
Before installation, ensure you have the following installed:
-
MySQL (Community Edition)
- Download and install from: https://dev.mysql.com/downloads/
- Set a password for the root user
- For a demo, see: https://www.bilibili.com/video/BV1Kr4y1i7ru?p=3
-
Node.js
- Download and install from: https://nodejs.org/
- Verify installation with:
node -v
andnpm -v
-
CMake
- Download and install from: https://github.com/Kitware/CMake/releases/
- Add CMake to the system PATH
- For a demo, see: https://www.bilibili.com/video/BV1DV411k7PA?p=1
-
MinGW (for Windows)
- Download and extract from: https://github.com/niXman/mingw-builds-binaries/releases/
- Add to the system PATH:
#\mingw64\bin
- Verify installation with:
gcc -v
- For a demo, see: https://www.bilibili.com/video/BV1bC411474b/
To build the core C++ library:
cd engine
mkdir build
cd build
cmake ..
make
This will generate a shared library named:
libdataprocessing.so
(Linux)libdataprocessing.dll
(Windows)libdataprocessing.dylib
(Mac)
- Navigate to the
frontend
directory - If you encounter issues with vite, delete
package-lock.json
and reinstall dependencies:npm install
- Run the development server:
npm run dev
-
Install nvm:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
-
Reload the shell configuration:
source ~/.bashrc
-
Install the latest LTS version of Node.js:
nvm install --lts
-
Use the newly installed Node.js:
nvm use --lts
-
Add Yarn's official repository and install the latest version:
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list sudo apt update sudo apt install yarn
-
Navigate to the frontend directory and install dependencies:
cd frontend yarn install
-
Run the development server:
yarn dev
- Navigate to the
engine
directory - Check the
CMakeLists.txt
file and ensure file directories are correct - Build the project:
mkdir build cd build cmake -G "MinGW Makefiles" .. mingw32-make
After installing all the necessary components:
- Run the application's main function.
- Start the frontend interface.
- The system is now ready to accept network connections from client devices.
To contribute to this project:
- Submit your code changes.
- Create a pull request.
- Wait for the review process to complete.
This project is licensed under the Apache License, Version 2.0. You may obtain a copy of the License at:
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.