Process

Step-by-step installation guide

Installation

  1. Fork the repository to your local machine.

  2. Navigate to the project directory react-annotation-interface.

  3. Run the following command in the terminal to install the dependencies:

npm install

Starting a Development Server

npm run dev

Create a Production Build

npm run build

Deploy the Production Build

serve -s dist -l 5050

If necessary, replace 5050 with the port you want to serve the production build from.

Set up the backend

Go over to the backend repo and follow the installation guide there. Back in the frontend folder, navigate to or create your .env file, and add the following line:

VITE_BACKEND_SERVICE_ADDRESS=http://localhost:8050/

If necessary, replace 8050 with the port in which you are running the backend on your local machine.

Last updated