forked from BasedHardware/omi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinitialsetup.bash
More file actions
36 lines (28 loc) · 745 Bytes
/
initialsetup.bash
File metadata and controls
36 lines (28 loc) · 745 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash
# Upgrade Flutter
echo "Upgrading Flutter..."
flutter upgrade
# Get Flutter dependencies
echo "Getting Flutter dependencies..."
cd apps/AppWithWearable
flutter pub get
# Install iOS pods
echo "Installing iOS pods..."
sudo gem install cocoapods
cd ios
pod install
pod repo update
cd ..
# TODO Install Android dependencies?
# ...
# Create .env file from template
echo "Creating .env file..."
cat .env.template > .dev.env
cat .env.template > .prod.env
# Prompt user to add API keys to .env file
echo "Please add your API keys to the .env file."
read -p "Press enter to continue after adding the keys."
# Run Build Runner
echo "Running Build Runner..."
dart run build_runner build
echo "Setup complete. You can now run the app."