# DataMining **Repository Path**: Amireux99/data-ming ## Basic Information - **Project Name**: DataMining - **Description**: abcdefghij - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-12-11 - **Last Updated**: 2022-12-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README The system contains there main components: 1. configurable system 2. algorithm_repository 3. crime-data-mining System ## configurable system the configurable system depolyment includes : frontend deployment and backend deployment. The frontend deployment bases on nginx, and backend deployment bases on Node.js. ### frontend deployment 1. download nginx, 2. put nginx to your pc and load the dictionary and use “start nginx”, visit localhost:80, and you can find this page. 3. change you server `nginx-1.18.0/conf/nginx.conf` server’s server_name to your own ip。 4. In order to allow the LAN host to access, you need to set the firewall settings of the Windows server. The system wants to the port of the exposed service is **80**. Click Control Panel, click System and Security, and click Firewall. 5. Click Advanced Settings, there is an inbound rule on the left side, and you can see the new rule on the right side after clicking Advanced Settings. 6. using vue-cli to build static source file. 7. using terminal and typing command ``` cd .\custom-modeling-backend\ npm run start ``` and open another terminal and typing commands: ``` cd .\custom-modeling-frontend\ npm run dev ``` and App running at: - Local: http://localhost:8080 ### Backend deployment 1. download and install Node.js 2. using “npm run build” to generate the static soucre file. 3. install the database “postgres” 4. load public.sql in ../configSystem to sql ## algorithm_repository 1. to use the algorithm_repository you should install PyCharm first. 2. install the dependicies in PyCharm and run the app ## crime-data-mining System **making sure you have finished deploying configurable system and algorithm_repository** 1. run **Crime-Data-Mining** as PyCharm project 2. install the dependicies in Pycharm 3. using vscode to open **Crime-Data-Mining-App\vue-element-admin** and using terminal and typing the commands below: ``` npm run dev ```