You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the provided `docker-compose.yml` or create one like this in the same directory as your .env file:
51
+
52
+
```yaml
53
+
services:
54
+
autoproject:
55
+
container_name: autoproject_app
56
+
image: xqbuilds/autoproject:latest
57
+
pull_policy: always
58
+
ports:
59
+
- "3000:3000"
60
+
env_file:
61
+
- .env
62
+
environment:
63
+
NODE_ENV: production
64
+
DOCKER_ENV: true
65
+
restart: unless-stopped
66
+
```
67
+
68
+
Run:
69
+
70
+
```bash
71
+
docker compose up -d
72
+
```
73
+
74
+
Access the app at [http://localhost:3000](http://localhost:3000).
75
+
76
+
To stop the container, you can use:
77
+
78
+
```bash
79
+
docker compose stop
80
+
```
81
+
82
+
For a clean reset to remove the container and its data, you can use:
83
+
84
+
```bash
85
+
docker compose down
86
+
```
87
+
88
+
With this approach, you do not need to fork the repo and setup any development environment. All you need are the API keys, .env file, and the Docker Compose file.
89
+
90
+
---
91
+
29
92
## 🚀 Getting Started (Development Mode)
30
93
31
94
### Prerequisites
@@ -39,7 +102,7 @@ Built with ⚡ **Bun** for fast runtime performance.
39
102
40
103
---
41
104
42
-
### 1. Local Development Setup
105
+
### Local Development Setup
43
106
44
107
Clone and install dependencies:
45
108
@@ -66,7 +129,7 @@ Access the app at [http://localhost:5173](http://localhost:5173).
66
129
67
130
---
68
131
69
-
## 🔥 Running in Production Mode
132
+
###🔥 Running in Production Mode
70
133
71
134
Build the app:
72
135
@@ -85,50 +148,6 @@ Access it at [http://localhost:4173](http://localhost:4173).
85
148
86
149
---
87
150
88
-
## 🐳 Running with Docker
89
-
90
-
### 1. Using Docker Compose (Recommended)
91
-
92
-
Prepare your `.env` file:
93
-
94
-
```bash
95
-
cp .env.example .env
96
-
# Fill in your API keys
97
-
```
98
-
99
-
Use the provided `docker-compose.yml` or create one like this:
100
-
101
-
```yaml
102
-
services:
103
-
autoproject:
104
-
image: xqbuilds/autoproject:latest
105
-
ports:
106
-
- "3000:3000"
107
-
env_file:
108
-
- .env
109
-
environment:
110
-
NODE_ENV: production
111
-
restart: unless-stopped
112
-
```
113
-
114
-
Run:
115
-
116
-
```bash
117
-
docker-compose up -d
118
-
```
119
-
120
-
Access the app at [http://localhost:3000](http://localhost:3000).
121
-
122
-
---
123
-
124
-
### 2. Running Manually Without Compose
125
-
126
-
```bash
127
-
docker run --env-file .env -p 3000:3000 xqbuilds/autoproject:latest
0 commit comments