Add a simple startup script for the AllChat Application
Description
This pull request introduces a bash script to automate the startup process of the AllChat application. The script provides a streamlined and user-friendly way to initialize all necessary application components, including MongoDB, the server API, and the main project.
Features
Automated Setup: Initializes MongoDB, server dependencies, and the main project.
Progress Tracking: Displays a visual progress bar for each step of the startup process.
Verbose Mode: Offers detailed logging for troubleshooting purposes.
Custom Port Selection: Allows specifying a custom port for the main application.
Dependency Checking: Verifies the presence of required tools (Docker, npm, lsof).
Error Handling: Provides clear error messages and logs for troubleshooting.
Graceful Shutdown: Ensures proper cleanup of resources on script termination.
Usage
The script can be run with the following options:
./run: Starts the application with default settings.
./run --verbose: Runs the script with detailed logging.
./run --port <number>: Specifies a custom port for the main application.
./run --help: Displays usage information.
Technical Details
Language: Bash
Dependencies: Docker, npm, lsof
Compatibility: Tested on macOS, Linux, and Windows Subsystem for Linux (WSL)
Add a simple startup script for the AllChat Application
Description
This pull request introduces a bash script to automate the startup process of the AllChat application. The script provides a streamlined and user-friendly way to initialize all necessary application components, including MongoDB, the server API, and the main project.
Features
Usage
The script can be run with the following options:
./run
: Starts the application with default settings../run --verbose
: Runs the script with detailed logging../run --port <number>
: Specifies a custom port for the main application../run --help
: Displays usage information.Technical Details