Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Campus Mobile MacOS Installer #2087

Merged
merged 19 commits into from
Oct 9, 2024
Merged

Conversation

c3bryant
Copy link
Contributor

@c3bryant c3bryant commented Oct 8, 2024

Summary

The Campus Mobile MacOS Installer is designed to streamline the local development environment setup for Campus Mobile on MacOS machines. It automates the installation and configuration of Campus Mobile's necessary tools and dependencies, ensuring a consistent and ready-to-use development environment.

Changelog

[MacOS] [General] - Add MacOS installer

Run the MacOS Installer

curl -fsSL https://raw.githubusercontent.com/UCSD/campus-mobile/refs/heads/experimental/scripts/install/install-macos.py -o install-macos.py && python3 install-macos.py

Test Plan

  • All Campus Mobile (MacOS) Installer steps completed successfully
  • Campus Mobile (MacOS) Installer installed, built, & ran successfully in Android emulator on x86
  • Campus Mobile (MacOS) Installer installed, built, & ran successfully in Android emulator on ARM

Preview

   ____                                  __  __       _     _ _        ___           _        _ _           
  / ___|__ _ _ __ ___  _ __  _   _ ___  |  \/  | ___ | |__ (_) | ___  |_ _|_ __  ___| |_ __ _| | | ___ _ __ 
 | |   / _` | '_ ` _ \| '_ \| | | / __| | |\/| |/ _ \| '_ \| | |/ _ \  | || '_ \/ __| __/ _` | | |/ _ \ '__|
 | |__| (_| | | | | | | |_) | |_| \__ \ | |  | | (_) | |_) | | |  __/  | || | | \__ \ || (_| | | |  __/ |   
  \____\__,_|_| |_| |_| .__/ \__,_|___/ |_|  |_|\___/|_.__/|_|_|\___| |___|_| |_|___/\__\__,_|_|_|\___|_|   
                      |_|                                                                                   

Welcome to the Campus Mobile (MacOS) Installer.

The installer will perform the following actions:
  1. Install Xcode Command Line Tools
  2. Install Homebrew
  3. Install Git
  4. Install Java
  5. Install VS Code
  6. Install Flutter
  7. Install Android Tools
  8. Create & Launch Android Emulator
  9. Install Campus Mobile
 10. Configure Campus Mobile
 11. Build & Run Campus Mobile
Press 'Y' to continue with the installation, any other key to exit: Y

Starting installation... Please be patient as this process may take up to 15 minutes.

 1/11  Xcode Command Line Tools installation complete.
 2/11  Homebrew upgrade complete.
 3/11  Git installation complete.
 4/11  Java installation complete.
 5/11  VS Code installation complete.
 6/11  Flutter installation complete.
 7/11  Android Tools installation complete.
 8/11  Android Emulator creation complete.
 9/11  Campus Mobile installation complete.
10/11  Campus Mobile configuration complete.
11/11  Campus Mobile build & run in progress...

*********************************************************************************
* Campus Mobile (MacOS) Installation Summary                                    *
*********************************************************************************
- Installation directory: ~/development/campus-mobile

- Git remote origin: https://github.com/c3bryant/campus-mobile.git

  If this is incorrect, set the correct remote using:
        git remote set-url origin https://github.com/<Your-GitHub-Username>/campus-mobile.git
*********************************************************************************

@morebytes morebytes self-requested a review October 9, 2024 20:13
Copy link
Contributor

@morebytes morebytes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spoke to Charles, this works and should be a useful build tool for the team. Also should look into updating our README to mention this tool

@morebytes morebytes merged commit 29b8158 into UCSD:experimental Oct 9, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants