Skip to content

Commit 72f84eb

Browse files
authored
Merge pull request #76 from otjamin/dev
Pre presentation release
2 parents dfb0adc + 25e360d commit 72f84eb

57 files changed

Lines changed: 2449 additions & 725 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

compose.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,14 @@ services:
55
build: ./server
66
environment:
77
- MODEL=ollama/gemma3n
8+
- API_BASE=http://host.docker.internal:11434
9+
- PB_URL=http://pb:8080
810
ports:
911
- "8000:80"
1012
restart: always
13+
# Uncomment the following lines for Linux
14+
extra_hosts:
15+
- "host.docker.internal:host-gateway"
1116

1217
pb:
1318
build: ./pocketbase

mobile/.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
EXPO_PUBLIC_API_URL=http://192.168.2.40:8000
2-
EXPO_PUBLIC_PB_URL=http://192.168.2.40:8090
1+
EXPO_PUBLIC_API_URL=http://h46.finsterwiese.de:8000
2+
EXPO_PUBLIC_PB_URL=http:/h46.finsterwiese.de:8090

mobile/app/(tabs)/index.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import AddLookbookModal from '@/components/AddLookbookModal';
2222
import EditLookbookModal from '@/components/EditLookbookModal';
2323
import { pb } from '@/utils/pocketbase';
2424
import 'react-native-get-random-values';
25-
import { v4 as uuidv4 } from 'uuid';
25+
import { generateTags } from '@/utils/wardrobeApi';
2626

2727
export type WardrobeItem = {
2828
id: string;
@@ -102,6 +102,10 @@ export default function MyWardrobe() {
102102

103103
try {
104104
const newItem = await pb.collection('items').create(formData);
105+
106+
// Generate tags for the new item
107+
generateTags(newItem);
108+
105109
const uri = pb.files.getURL(newItem, newItem.image);
106110
setItems((prev) => [
107111
...prev,

0 commit comments

Comments
 (0)