[email protected] (Node.js-Demo)
[email protected] requires Node.js v4+ to run.
To install and use [email protected] Node.js demo, you must install the following software:
- Node.js 10.15.1 LTS for Windows (x64)
- MySQL Community Server (Current Generally Available Release: 8.0.15)
After you've successfully install these products and properly setup MySQL server you can proceed with the next installation and configuration steps.
- Open MySQL Workbench 8.0 CE and locate Data Import/Restore option under Administration tab by clicking it in the sidebar leftside your MySQL Workbench window:
- In the Administration - Data Import/Restore tab of the MySQL Workbench window, select Import from Disk tab below and toggle select file [...] button:
- Select a folder containing nlp-samurai_db.sql file. In this case, this file is located in the main projects folder, for example: (/nlp_samurai/nlp_samurai/). After you've selected a proper directory containing this sql-file, nlp-samurai_db database schema icon will appear under the Select Database Objects To Import list view:
- Finally, locate and click Start Import button in the bottom-right corner of the Import from Disk tab, to launch the database creation and data import process.
The [email protected] project relies on using the number of Node.js modules, from npmjs.org repository, created by the other side-developers. To install these modules you must use the following command in the Node.js command prompt:
<path-on-your-drive>\nlp_samurai\nlp_samurai\>npm install --save
By executing the following command all required Node.js modules, specified in package.json file will be installed to the \nlp_samurai\nlp_samurai\node_modules folder.
Step 3: Running [email protected] Express Server:
Finally, all what you have to do next is to launch [email protected] server web-application. To do this you must type in the following in your Node.js command prompt:
<path-on-your-drive>\nlp_samurai\nlp_samurai\>npm update & npm start
Step 4: Using [email protected] Application Installed
To do use [email protected] web application, all what you have to do is to open your local web-browser and type in the following address in the address bar at the top:
http://localhost:3000/
That's all folks, enjoy using the application!
Author: Arthur V. Ratz @ CodeProject (CPOL License)
CPOL - CodeProject's Open License"# nlp-samurai-0.0.10" "# nlp-samurai-0.0.10" "# nlp-samurai-0.0.10" "# nlp-samurai-0.0.10" "# nlp-samurai-0.0.10" "# nlpsamurai-0.0.10"