Skip to content

Commit 56a3f87

Browse files
authored
Merge pull request nightscout#180 from nightscout/create_ConfigOverride_CLI
Update README.md: Create ConfigOverride.xcconfig by command line
2 parents c25cc55 + 380d3c0 commit 56a3f87

File tree

1 file changed

+22
-9
lines changed

1 file changed

+22
-9
lines changed

README.md

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,41 @@
44

55
Trio - an automated insulin delivery system for iOS based on the OpenAPS algorithm with [adaptations for Trio](https://github.com/nightscout/trio-oref).
66

7-
The project started as Ivan Valkou's FreeAPS X implementation of the OpenAPS algorithm for iPhone, and was later forked and rebranded as iAPS. The project has since seen substantial contributions from many developers, leading to a range of new features and enhancements.
7+
The project started as Ivan Valkou's [FreeAPS X](https://github.com/ivalkou/freeaps) implementation of the [OpenAPS algorithm](https://github.com/openaps/oref0) for iPhone, and was later forked and rebranded as iAPS. The project has since seen substantial contributions from many developers, leading to a range of new features and enhancements.
88

99
Following the release of iAPS version 3.0.0, due to differing views on development, open source, and peer review, there was a significant shift in the project's direction. This led to the separation from the [Artificial-Pancreas/iAPS](https://github.com/Artificial-Pancreas/iAPS) repository, and the birth of [Trio](https://github.com/nightscout/Trio.git) as a distinct entity. This transition marks a new phase for the project, symbolizing both its evolution and the dynamic nature of collaborative development.
1010

1111
Trio continues to leverage a variety of frameworks from the DIY looping community and remains at the forefront of DIY diabetes management solutions, constantly evolving with valuable contributions from its community.
1212

1313
## To download this repo:
1414

15-
There is also a script available, but if you prefer the manual process:
15+
You can either use the Build Script or you can run each command manually.
1616

17-
In Terminal:
17+
### Build Script:
1818

19-
Configure a folder where you want your download to reside:
19+
If you copy, paste, and run the following script in Terminal, it will guide you through downloading and installing Trio. More information about the script can be found [here](https://docs.diy-trio.org/en/latest/operate/build.html#build-trio-with-script).
2020

2121
```
22-
cd <your desired folder name>
23-
git clone --branch=<<branch>> --recurse-submodules https://github.com/nightscout/Trio.git
24-
cd Trio
22+
/bin/bash -c "$(curl -fsSL \
23+
https://raw.githubusercontent.com/loopandlearn/lnl-scripts/main/TrioBuildSelectScript.sh)"
2524
```
2625

27-
modify Config.xconfig to replace ##TEAM_ID## with your Apple Developer ID.
26+
### Command Line Interface (CLI):
2827

28+
In Terminal, `cd` to the folder where you want your download to reside, change `<branch>` in the command below to the branch you want to download (ie. `dev`), and press `return`.
29+
30+
```
31+
git clone --branch=<branch> --recurse-submodules https://github.com/nightscout/Trio.git && cd Trio
32+
```
33+
34+
Create a ConfigOverride.xcconfig file that contains your Apple Developer ID (something like `123A4BCDE5`). This will automate signing of the build targets in Xcode:
35+
36+
Copy the command below, and replace `xxxxxxxxxx` by your Apple Developer ID before running the command in Terminal.
37+
```
38+
echo 'DEVELOPER_TEAM = xxxxxxxxxx' > ConfigOverride.xcconfig
39+
```
40+
41+
Then launch Xcode and build the Trio app:
2942
```
3043
xed .
3144
```
@@ -52,7 +65,7 @@ Instructions in greater detail, but not Trio-specific:
5265

5366
[Discord Trio - Server ](https://discord.gg/KepAG6RdYZ)
5467

55-
TODO: Add link: Trio documentation (under development, not existing yet)
68+
[Trio documentation](https://docs.diy-trio.org/en/latest/)
5669

5770
TODO: Add link: Trio Website (under development, not existing yet)
5871

0 commit comments

Comments
 (0)