Delete react-bootstrap-migration/instruction.md
This commit is contained in:
parent
c15ab5ae88
commit
5c66b1fdf3
@ -1,69 +0,0 @@
|
||||
# Migration Instructions: React + Bootstrap Application
|
||||
|
||||
This document contains instructions for setting up, running, and building the migrated React application.
|
||||
|
||||
## 1. Prerequisites
|
||||
|
||||
- Node.js (v16 or higher)
|
||||
- npm or yarn
|
||||
|
||||
## 2. Project Setup
|
||||
|
||||
1. **Clone the repository:**
|
||||
```bash
|
||||
git clone <repository-url>
|
||||
```
|
||||
|
||||
2. **Navigate to the project directory:**
|
||||
```bash
|
||||
cd react-bootstrap-migration
|
||||
```
|
||||
|
||||
3. **Install dependencies:**
|
||||
```bash
|
||||
npm install
|
||||
```
|
||||
or
|
||||
```bash
|
||||
yarn install
|
||||
```
|
||||
|
||||
## 3. Configuration
|
||||
|
||||
The application configuration is located in `src/config.ts`. Update the `apiBaseUrl` and other settings to match your environment.
|
||||
|
||||
```typescript
|
||||
// src/config.ts
|
||||
export const config = {
|
||||
apiBaseUrl: 'http://localhost:8080/api', // Update with your backend URL
|
||||
// ... other settings
|
||||
};
|
||||
```
|
||||
|
||||
## 4. Running the Application
|
||||
|
||||
To run the application in development mode:
|
||||
|
||||
```bash
|
||||
npm start
|
||||
```
|
||||
or
|
||||
```bash
|
||||
yarn start
|
||||
```
|
||||
|
||||
This will start the development server, and you can view the application at `http://localhost:3000`.
|
||||
|
||||
## 5. Building the Application
|
||||
|
||||
To create a production build of the application:
|
||||
|
||||
```bash
|
||||
npm run build
|
||||
```
|
||||
or
|
||||
```bash
|
||||
yarn build
|
||||
```
|
||||
|
||||
The build artifacts will be stored in the `build/` directory. These are the static files that can be deployed to any web server.
|
||||
Loading…
x
Reference in New Issue
Block a user