diff --git a/docker/waypoint/install.sh b/docker/waypoint/install.sh index a9b2965e..d15881af 100755 --- a/docker/waypoint/install.sh +++ b/docker/waypoint/install.sh @@ -1,7 +1,7 @@ #!/bin/bash INSTALL_DIR="/usr/local/bin" -WAYPOINT_VERSION="v0.0.2.4" +WAYPOINT_VERSION="v0.0.2.5" GITHUB_ORG="pennlabs" REPO_NAME="infrastructure" diff --git a/docker/waypoint/src/main.py b/docker/waypoint/src/main.py index 268cc28f..dfe0fd08 100644 --- a/docker/waypoint/src/main.py +++ b/docker/waypoint/src/main.py @@ -154,11 +154,12 @@ def init_product(product: str) -> None: shell=True, check=True, ) - subprocess.run( - f"bash -c 'source {venv_path} && cd {backend_path} && python manage.py populate'", - shell=True, - check=True, - ) + if (product != "penn-mobile"): + subprocess.run( + f"bash -c 'source {venv_path} && cd {backend_path} && python manage.py populate'", + shell=True, + check=True, + ) except subprocess.CalledProcessError: print( f"Failed to run manage.py commands for {product}, did you run `waypoint services`?" @@ -320,6 +321,7 @@ def main() -> None: You can also specify --no-vsc to not open VSCode. Example: waypoint switch office-hours-queue --no-vsc + ---------------------------------------------------------""", ) switch_parser.add_argument( @@ -337,6 +339,7 @@ def main() -> None: Note: Must be in a dev container to run this command. Example: waypoint start + ---------------------------------------------------------------------------------------------------- """, ) @@ -348,7 +351,8 @@ def main() -> None: Runs `python manage.py runserver` in the appropriate directory. Note: Must be in a dev container to run this command. -Example: waypoint backend +Example: waypoint backend + ------------------------------------------------------------- """, ) @@ -359,7 +363,8 @@ def main() -> None: Runs `yarn dev` in the appropriate directory. Note: Must be in a dev container to run this command. -Example: waypoint frontend +Example: waypoint frontend + ------------------------------------------------------------- """ ) @@ -372,6 +377,7 @@ def main() -> None: If no mode is specified, it will start the services. Example: waypoint services start + ------------------------------------------------------------- """, )