@@ -24,16 +24,39 @@ Alternatively, open the repository URL in `Android Studio` to clone it directly.
24
24
## 🛠️ Development Guide
25
25
26
26
1 . ** Configure Appwrite**
27
- Navigate to ` lib/data/repository/appwrite_repository.dart ` and update the values to match your
28
- Appwrite project credentials.
27
+ Open ` lib/config/environment.dart ` and update the values with your Appwrite project credentials:
28
+ ``` dart
29
+ class Environment {
30
+ static const String appwriteEndpoint = '[appwriteEndpoint]';
31
+ static const String appwriteProjectId = '[appwriteProjectId]';
32
+ static const String appwriteProjectName = '[appwriteProjectName]';
33
+ }
34
+ ```
29
35
30
36
2 . ** Customize as Needed**
31
37
Modify the starter kit to suit your app's requirements. Adjust UI, features, or backend
32
38
integrations as per your needs.
33
39
34
40
3 . ** Run the App**
35
- Select a target device (emulator or a connected physical device) in ` Android Studio ` , and
36
- click ** Run** to start the app.
41
+ Select a target device and run the app:
42
+ ``` bash
43
+ # List available devices
44
+ flutter devices
45
+
46
+ # Run on a specific device (replace 'device-id' with actual device)
47
+ flutter run -d device-id
48
+
49
+ # Examples:
50
+ flutter run -d chrome # Web
51
+ flutter run -d " iPhone 15" # iOS Simulator
52
+ flutter run -d emulator-5554 # Android Emulator
53
+ flutter run -d macos # macOS Desktop
54
+ ```
55
+
56
+ ** Build for Web:**
57
+ ``` bash
58
+ flutter build web
59
+ ```
37
60
38
61
---
39
62
@@ -46,5 +69,5 @@ production : https://docs.flutter.dev/deployment
46
69
47
70
## 💡 Additional Notes
48
71
49
- - This starter project is designed to streamline your Android development with Appwrite.
72
+ - This starter project is designed to streamline your Flutter development with Appwrite.
50
73
- Refer to the [ Appwrite Documentation] ( https://appwrite.io/docs ) for detailed integration guidance.
0 commit comments