1.0.0 • Published 5 months ago
create-iv-admin-app v1.0.0
create-iv-bot-app
A CLI tool to quickly bootstrap a new chatbot project by cloning a template repository, updating configuration files, and setting up your project with minimal effort.
Overview
create-iv-bot-app
automates the initial setup of a chatbot project by:
- Cloning a predefined chatbot template repository.
- Removing the existing Git history (the
.git
folder) from the template. - Updating configuration files:
- package.json: Sets the project name.
- src/config.json: Updates
appName
andcompanyName
with the new project name.
- Installing project dependencies.
- Prompting for a web app title and description to update
public/index.html
.
This tool streamlines the process of getting your chatbot project off the ground.
Features
- Template Cloning: Uses a GitHub repository as a starting point.
- Git Detachment: Removes the template’s Git history so your project starts as a fresh repository.
- Dynamic Configuration: Updates
package.json
andsrc/config.json
with your project details. - Interactive Setup: Prompts you to enter a custom web app title and description.
- Automated Dependency Installation: Automatically runs
npm install
in the new project directory.
Prerequisites
- Node.js (v14 or later recommended)
- npm (comes with Node.js)
- Git (must be installed and available in your PATH)
Installation
Clone this repository:
git clone https://github.com/your-username/create-iv-bot-app.git cd create-iv-bot-app
1.0.0
5 months ago