Skip to content

ansari-project/ansari-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansari Chat React Project Documentation

Author: EndeavorPal Technology

This document provides detailed instructions for initializing and deploying the Ansari Chat React project. Adherence to these steps is crucial for successful project setup and execution.

1. Initial Requirements

  • Begin by cloning the repository. Execute the following command:

    git clone https://github.com/waleedkadous/ansari-frontend

  • Verify the installation of Node.js and Yarn on your system. These can be downloaded from their respective official sites:

2. Environment Setup

  • Duplicate the .env.example file, rename it to .env, and modify the REACT_APP_API_V2_URL
  • Execute yarn install to procure all necessary dependencies.

3. Local Development Execution

  • Initiate the development mode by running yarn start.

4. Production Deployment

  • Update PUBLIC_URL and REACT_APP_API_V2_URL in the .env file
  • Install a web server, such as nginx, for hosting the production build. Reference the provided sample nginx configuration in the nginx.conf.sample file for setup guidance.
  • Generate the production build by executing yarn build. Locate the output in the build directory.
  • Transfer the contents of the build folder to the root directory of your web server.

About

Frontend for Ansari

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages