User Tools

Site Tools


tfm_source

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

tfm_source [2023/08/17 01:29] – created declantfm_source [2023/08/17 01:32] (current) declan
Line 10: Line 10:
 ==== how to build from source step-by-step ==== ==== how to build from source step-by-step ====
 1. Download and install Visual studio community from www.visualstudio.com. Be sure to check the desktop development with dotnet feature in the installer. 1. Download and install Visual studio community from www.visualstudio.com. Be sure to check the desktop development with dotnet feature in the installer.
 +
 2. Once installed, launch Visual studio to make sure everything is working. If you arrive at a sign-in screen, use your Microsoft account to sign in. 2. Once installed, launch Visual studio to make sure everything is working. If you arrive at a sign-in screen, use your Microsoft account to sign in.
 +
 3. When the start screen appears, close Visual studio with ALT+F4. 3. When the start screen appears, close Visual studio with ALT+F4.
 +
 4. Download GitHub desktop from https://desktop.github.com. 4. Download GitHub desktop from https://desktop.github.com.
 +
 5. After installing GitHub desktop, follow the directions to sign into your GitHub account. Create one if you dont have one. 5. After installing GitHub desktop, follow the directions to sign into your GitHub account. Create one if you dont have one.
 +
 6. Once signed in, you need to clone the repository from GitHub (CONTROL+SHIFT+O). On the resulting screen, choose URL. The URL is https://github.com/talking-flight-monitor/talking-flight-monitor 6. Once signed in, you need to clone the repository from GitHub (CONTROL+SHIFT+O). On the resulting screen, choose URL. The URL is https://github.com/talking-flight-monitor/talking-flight-monitor
 +
 7. Once cloned, the GitHub desktop user interface shows 3 buttons: 7. Once cloned, the GitHub desktop user interface shows 3 buttons:
 +
 a. Repository name a. Repository name
 +
 b. Branch name b. Branch name
 +
 c. Last modified time c. Last modified time
 +
 8. Make sure the branch is set to DotNet7Migration (forgive casing). 8. Make sure the branch is set to DotNet7Migration (forgive casing).
 +
 9. Press the pull (never) button just below the branch button. 9. Press the pull (never) button just below the branch button.
 +
 10. Once the source is downloaded, you need to build it. 10. Once the source is downloaded, you need to build it.
 +
 11. Locate the source tree at Documents/GitHub/talking-flight-monitor-net/source, or wherever you saved it. 11. Locate the source tree at Documents/GitHub/talking-flight-monitor-net/source, or wherever you saved it.
 +
 12. Locate tfm.sln in the source subfolder and press ENTER on it. 12. Locate tfm.sln in the source subfolder and press ENTER on it.
 +
 13. When asked, open it with Visual studio 2022. 13. When asked, open it with Visual studio 2022.
 +
 14. Once it is loaded into Visual studio, give about a minute for Visual studio to download all components for TFM. 14. Once it is loaded into Visual studio, give about a minute for Visual studio to download all components for TFM.
 +
 15. Once done, press CTRL+SHIFT+B to build. 15. Once done, press CTRL+SHIFT+B to build.
 +
 16. Once successful, you can find TFM.exe in the source/bin/debug/net7 folder. Create a desktop shortcut for tfm.exe. 16. Once successful, you can find TFM.exe in the source/bin/debug/net7 folder. Create a desktop shortcut for tfm.exe.
 +
 17. Run TFM from source by activating the desktop icon or running tfm.exe. 17. Run TFM from source by activating the desktop icon or running tfm.exe.
 When there are updates to the source, you can find them in GitHub desktop under the changes tab in the main window. When there are updates to the source, you can find them in GitHub desktop under the changes tab in the main window.
 You can sign up for push notifications in your GitHub account. This will send an email when the source code has been updated. When you choose, repeat the process to rebuild TFM from source. You can sign up for push notifications in your GitHub account. This will send an email when the source code has been updated. When you choose, repeat the process to rebuild TFM from source.
  
tfm_source.1692228559.txt.gz · Last modified: 2023/08/17 01:29 by declan