Skip to content

Commit 4b4ee75

Browse files
author
AlexVakhovski
committed
Upd readme
1 parent 8107c53 commit 4b4ee75

File tree

19 files changed

+21
-388
lines changed

19 files changed

+21
-388
lines changed

README.md

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,7 @@ cd dockdev
4242

4343
3. Build the binary (choose based on your OS)::
4444

45-
🔧 For WSL:
46-
Run `./build.sh`
47-
48-
Make sure the file is executable:
49-
`chmod +x build.sh`
50-
51-
🪟 For Windows (CMD or PowerShell):
45+
🪟 For Windows (CMD):
5246
Run `build.bat`
5347

5448
> This produces a Linux-compatible binary you can run inside WSL2 or Linux servers.
@@ -57,17 +51,27 @@ Run `build.bat`
5751

5852
## ⚙️ Setup
5953

60-
### Required files:
54+
### Copy required files and folders:
6155

62-
#### `.env`
63-
```env
64-
NETWORK_NAME=local_net
65-
SUBNET=10.0.100.0/24
66-
REVERSE_PROXY_IP=10.0.100.2
67-
PROJECT_START_IP=10.0.100.10
68-
```
56+
> All from folder dist to your WSL
57+
58+
- `.env`
59+
- `dockdev`
60+
- `templates`
61+
- `shared-services`
6962

7063
---
64+
## 💡 Before you start!
65+
66+
> If your index application folder is `public` or another, update `nginx.conf`
67+
>
68+
> For example: `root /var/www/html/public;`
69+
>
70+
> 1. You can update it before adding new project in `templates/nginx.conf.tmpl` for all projects
71+
>
72+
> 2. or after, directly in `domains/YOUR_DOMAIN/conf/nginx/default.conf`
73+
> #### If #2 - Don't forget to remove and run project containers manually!
74+
7175

7276
## 🚀 Usage
7377

@@ -96,8 +100,9 @@ PROJECT_START_IP=10.0.100.10
96100
- reverse proxy config in `shared-services/sites`
97101
- Update:
98102
- `.ipmap.env` > This file just FYI
99-
- `Windows hosts` file[docker-compose.yml.tmpl](templates/docker-compose.yml.tmpl)
103+
- `Windows hosts` file
100104

105+
> Your application must be in `app` folder: `domains/YOUR_DOMAIN/app`
101106
---
102107

103108
### 🗑 Remove a project

build.bat

Lines changed: 0 additions & 15 deletions
This file was deleted.

cmd/main.go

Lines changed: 0 additions & 42 deletions
This file was deleted.
File renamed without changes.
4.47 MB
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)