Skip to content

Commit 8e2361b

Browse files
committed
Update placeholders
1 parent 9453e45 commit 8e2361b

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ Alternatively, open the repository URL in `Android Studio` to clone it directly.
2727
Open `lib/config/environment.dart` and update the values with your Appwrite project credentials:
2828
```dart
2929
class Environment {
30-
static const String appwriteEndpoint = 'appwrite-endpoint';
31-
static const String appwriteProjectId = 'your-project-id';
32-
static const String appwriteProjectName = 'your-project-name';
30+
static const String appwriteEndpoint = '[appwriteEndpoint]';
31+
static const String appwriteProjectId = '[appwriteProjectId]';
32+
static const String appwriteProjectName = '[appwriteProjectName]';
3333
}
3434
```
3535

lib/config/environment.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
class Environment {
2-
static const String appwriteEndpoint = 'appwrite-endpoint';
3-
static const String appwriteProjectId = 'appwrite-project-id';
4-
static const String appwriteProjectName = 'appwrite-project-name';
5-
}
2+
static const String appwriteEndpoint = '[appwriteEndpoint]';
3+
static const String appwriteProjectId = '[appwriteProjectId]';
4+
static const String appwriteProjectName = '[appwriteProjectName]';
5+
}

prepare-env.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ set -e
33

44
# Script used during deployment on Appwrite Sites
55

6-
# Replace [appwriteEndpoint] with APPWRITE_ENDPOINT in environments files
7-
sed -i "s|appwrite-endpoint|$APPWRITE_ENDPOINT|g" lib/config/environment.dart
6+
# Replace [appwriteEndpoint] with APPWRITE_ENDPOINT in environment file
7+
sed -i "s|\[appwriteEndpoint\]|$APPWRITE_ENDPOINT|g" lib/config/environment.dart
88

9-
# Replace [appwriteProjectId] with APPWRITE_PROJECT_ID in environments files
10-
sed -i "s|appwrite-project-id|$APPWRITE_PROJECT_ID|g" lib/config/environment.dart
9+
# Replace [appwriteProjectId] with APPWRITE_PROJECT_ID in environment file
10+
sed -i "s|\[appwriteProjectId\]|$APPWRITE_PROJECT_ID|g" lib/config/environment.dart
1111

12-
# Replace [appwriteProjectName] with APPWRITE_PROJECT_NAME in environments files
13-
sed -i "s|appwrite-project-name|$APPWRITE_PROJECT_NAME|g" lib/config/environment.dart
12+
# Replace [appwriteProjectName] with APPWRITE_PROJECT_NAME in environment file
13+
sed -i "s|\[appwriteProjectName\]|$APPWRITE_PROJECT_NAME|g" lib/config/environment.dart

0 commit comments

Comments
 (0)