Update README to clarify non-Docker setup instructions
هذا الالتزام موجود في:
32
README.md
32
README.md
@@ -22,7 +22,7 @@ A modern, responsive website for showcasing drone builds and services, built wit
|
||||
### Prerequisites
|
||||
|
||||
- Node.js (version 16 or higher)
|
||||
- Bun or npm package manager
|
||||
- npm package manager
|
||||
|
||||
### Installation
|
||||
|
||||
@@ -34,21 +34,25 @@ A modern, responsive website for showcasing drone builds and services, built wit
|
||||
|
||||
2. Install dependencies:
|
||||
```bash
|
||||
bun install
|
||||
# or
|
||||
npm install
|
||||
```
|
||||
|
||||
### Development
|
||||
|
||||
Start the development server:
|
||||
```bash
|
||||
bun run dev
|
||||
# or
|
||||
npm run dev
|
||||
```
|
||||
To run the application without Docker:
|
||||
|
||||
1. Start the frontend development server:
|
||||
```bash
|
||||
npm run dev
|
||||
```
|
||||
|
||||
2. In a separate terminal, start the backend server:
|
||||
```bash
|
||||
npm start
|
||||
```
|
||||
|
||||
The site will be available at http://localhost:8080
|
||||
The backend API will be available at http://localhost:3001
|
||||
|
||||
### Building for Production
|
||||
|
||||
@@ -73,11 +77,11 @@ To enable the contact form functionality:
|
||||
1. Configure Gmail SMTP credentials in `.env` file
|
||||
2. Run the Node.js server:
|
||||
```bash
|
||||
bun run start
|
||||
# or
|
||||
npm start
|
||||
```
|
||||
|
||||
The backend will be available at http://localhost:3001 and will automatically proxy API requests from the frontend development server.
|
||||
|
||||
### Gmail SMTP Configuration
|
||||
|
||||
To configure Gmail for sending emails:
|
||||
@@ -107,9 +111,11 @@ src/
|
||||
|
||||
Create a `.env` file in the root directory with necessary environment variables.
|
||||
|
||||
## Deployment with Docker
|
||||
## Deployment with Docker (Optional)
|
||||
|
||||
This project includes Docker configuration files for easy deployment:
|
||||
This project includes Docker configuration files for containerized deployment. This is optional and the application can run perfectly without Docker.
|
||||
|
||||
If you choose to use Docker:
|
||||
|
||||
1. Build and run the application using Docker Compose:
|
||||
```bash
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم