Skip to content

Latest commit

 

History

History
143 lines (92 loc) · 4.08 KB

INSTALLATION.md

File metadata and controls

143 lines (92 loc) · 4.08 KB

Installation

Table of Contents

Required Tools

Before proceeding with the installation, ensure that you have the necessary tools installed on your system. If any of these tools are missing, you can download and install them from the provided links:

Once you have all the required tools installed, you can proceed with the installation of the project.

With Docker

Clone the Crew Connect repository from GitHub.

git clone https://github.com/jatiinyadav/Crew-Connect.git

Clone Repository

2. Open Project in Visual Studio Code

Navigate to the project directory and open it in Visual Studio Code.

cd Crew-Connect
code .

Open in Visual Studio Code

3. Run Docker Compose

Navigate to the project directory and open it in Visual Studio Code.

docker-compose up

Your Frontend is now running at localhost:4200 Your Backend is now running at localhost:80

Without Docker

Frontend Installation

1. Clone the Repository

Clone the Crew Connect repository from GitHub.

git clone https://github.com/jatiinyadav/Crew-Connect.git

Clone Repository

2. Open Project in Visual Studio Code

Navigate to the project directory and open it in Visual Studio Code.

cd Crew-Connect
code .

Open in Visual Studio Code

3. Install Dependencies

Open the terminal in Visual Studio Code and navigate to the frontend directory. Then, install the dependencies.

cd frontend
npm install

Install Dependencies

4. Start Frontend

To start the frontend, run the appropriate command.

npm start

Start Frontend

The frontend of the application is now running and can be accessed at http://localhost:4200/.

Application Running

Backend Installation

1. Connect MongoDB Compass

Open MongoDB Compass and connect to the MongoDB server at mongodb://localhost:27017.

MongoDB Compass

2. Create Database and Collection

Create a new database named ChatApplication and a collection named ChatRoom.

Create Database Popup

Create Database

3. Open Project in Visual Studio

Open Visual Studio and select "Open Project or Solution".

Visual Studio Open

4. Load Solution

Navigate to <Project Directory>/Crew-Connect/backend/ and select the ChatApplication.sln file.

File Explorer

5. Start Debugging

Once the solution is loaded, click on the "Start Debugging" button to run the backend of the application.

Start Debugging

Your application is now ready to use.