Welcome in the repository of the front-end dashboard for the bert-faqclass project! This repository contains the code to set-up a dashboard to control the knowledge base of your AI chatbot.
Note: check out the use case description in this Medium article
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Before to install the software make sure you already have installed:
- Node.js: an open-source, cross-platform, JavaScript runtime environment that executes JavaScript code outside a web browser.
- npm: the world's largest software registry. It contains over 800,000 code packages.
It's easy! To download the packages and it's dependencies you need to open your terminal in the root of this project and run:
npm install
The npm
package manager will create the folder node_modules and download into all the dependencies. The packages that will be downloaded are those of file package-lock.json.
You can run a local server for development with the command:
npm run serve
This will set-up a local development server with the hot-realoads feature to immediately check the result of your tests/implementations. Once the server is set-up, you will see displayed the local and remote url (e.g. Local: http://localhost:8080/
, Network: http://192.168.178.52:8080/
).
To enforce the code to have clear consistent coding convention and to "spot" some bugs, run the following command:
npm run lint
This will highlight some errors and criticalities.
To create a production build you need to run the following command:
npm run build
- Node.js - The Javascript runtime environment to execute javascript outside of a browser
- npm - The package manager to download the dependencies
- Vue.js - The Javascript framework for front-end development
- Nicola Massarenti
This project is licensed under the MIT License - see the LICENSE.md file for details.
- Thanks to Bruno Pistone for having introduced me to Vue.js.