Flatten repo structure: move crawler/ to root, remove vqa/ and immoweb/
The crawler subdirectory was the only active project. Moving it to the repo root simplifies paths and removes the unnecessary nesting. The vqa/ and immoweb/ directories were legacy/unused and have been removed. Updated .drone.yml, .gitignore, .claude/ docs, and skills to reflect the new flat structure.
This commit is contained in:
parent
e2247be700
commit
eafbc1ac52
221 changed files with 70 additions and 146140 deletions
|
|
@ -18,28 +18,28 @@ All commands run locally. Images are pushed to Docker Hub under the `viktorbarzi
|
|||
|
||||
| Component | Docker Hub repo | Dockerfile location |
|
||||
|-----------|------------------------------------|------------------------------|
|
||||
| API | `viktorbarzin/realestatecrawler` | `crawler/Dockerfile` |
|
||||
| Frontend | `viktorbarzin/immoweb` | `crawler/frontend/Dockerfile`|
|
||||
| API | `viktorbarzin/realestatecrawler` | `Dockerfile` |
|
||||
| Frontend | `viktorbarzin/immoweb` | `frontend/Dockerfile` |
|
||||
|
||||
## Building Images
|
||||
|
||||
### Build API image
|
||||
|
||||
```bash
|
||||
docker build -t viktorbarzin/realestatecrawler:latest crawler/
|
||||
docker build -t viktorbarzin/realestatecrawler:latest .
|
||||
```
|
||||
|
||||
### Build Frontend image
|
||||
|
||||
```bash
|
||||
docker build -t viktorbarzin/immoweb:latest crawler/frontend/
|
||||
docker build -t viktorbarzin/immoweb:latest frontend/
|
||||
```
|
||||
|
||||
### Build both
|
||||
|
||||
```bash
|
||||
docker build -t viktorbarzin/realestatecrawler:latest crawler/ && \
|
||||
docker build -t viktorbarzin/immoweb:latest crawler/frontend/
|
||||
docker build -t viktorbarzin/realestatecrawler:latest . && \
|
||||
docker build -t viktorbarzin/immoweb:latest frontend/
|
||||
```
|
||||
|
||||
### Build with a specific tag (recommended for production)
|
||||
|
|
@ -47,8 +47,8 @@ docker build -t viktorbarzin/immoweb:latest crawler/frontend/
|
|||
```bash
|
||||
# Use git commit SHA
|
||||
GIT_SHA=$(git rev-parse --short HEAD)
|
||||
docker build -t viktorbarzin/realestatecrawler:${GIT_SHA} -t viktorbarzin/realestatecrawler:latest crawler/
|
||||
docker build -t viktorbarzin/immoweb:${GIT_SHA} -t viktorbarzin/immoweb:latest crawler/frontend/
|
||||
docker build -t viktorbarzin/realestatecrawler:${GIT_SHA} -t viktorbarzin/realestatecrawler:latest .
|
||||
docker build -t viktorbarzin/immoweb:${GIT_SHA} -t viktorbarzin/immoweb:latest frontend/
|
||||
```
|
||||
|
||||
## Pushing Images
|
||||
|
|
@ -87,8 +87,8 @@ docker push viktorbarzin/immoweb:latest
|
|||
GIT_SHA=$(git rev-parse --short HEAD)
|
||||
|
||||
# Build
|
||||
docker build -t viktorbarzin/realestatecrawler:${GIT_SHA} -t viktorbarzin/realestatecrawler:latest crawler/
|
||||
docker build -t viktorbarzin/immoweb:${GIT_SHA} -t viktorbarzin/immoweb:latest crawler/frontend/
|
||||
docker build -t viktorbarzin/realestatecrawler:${GIT_SHA} -t viktorbarzin/realestatecrawler:latest .
|
||||
docker build -t viktorbarzin/immoweb:${GIT_SHA} -t viktorbarzin/immoweb:latest frontend/
|
||||
|
||||
# Push
|
||||
docker push viktorbarzin/realestatecrawler:${GIT_SHA}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue