Update README to clarify non-Docker setup instructions

هذا الالتزام موجود في:
2025-10-29 16:25:19 +03:00
الأصل d837c460fa
التزام b1a93c0a91

عرض الملف

@@ -22,7 +22,7 @@ A modern, responsive website for showcasing drone builds and services, built wit
### Prerequisites ### Prerequisites
- Node.js (version 16 or higher) - Node.js (version 16 or higher)
- Bun or npm package manager - npm package manager
### Installation ### Installation
@@ -34,21 +34,25 @@ A modern, responsive website for showcasing drone builds and services, built wit
2. Install dependencies: 2. Install dependencies:
```bash ```bash
bun install
# or
npm install npm install
``` ```
### Development ### Development
Start the development server: To run the application without Docker:
```bash
bun run dev 1. Start the frontend development server:
# or ```bash
npm run dev 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 site will be available at http://localhost:8080
The backend API will be available at http://localhost:3001
### Building for Production ### Building for Production
@@ -73,11 +77,11 @@ To enable the contact form functionality:
1. Configure Gmail SMTP credentials in `.env` file 1. Configure Gmail SMTP credentials in `.env` file
2. Run the Node.js server: 2. Run the Node.js server:
```bash ```bash
bun run start
# or
npm start 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 ### Gmail SMTP Configuration
To configure Gmail for sending emails: To configure Gmail for sending emails:
@@ -107,9 +111,11 @@ src/
Create a `.env` file in the root directory with necessary environment variables. 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: 1. Build and run the application using Docker Compose:
```bash ```bash