diff --git a/README.md b/README.md index ea375bf..bc018e9 100644 --- a/README.md +++ b/README.md @@ -30,8 +30,10 @@ jupyter lab 1. Jupyter Lab will open in your default browser at http://localhost:8888 2. Navigate to notebooks/ directory to access development notebooks -3. Generated code will be saved to src/symbolic/ directory -4. Run tests using: +3. Generated code will be saved to src/notebooks/ directory + +#### Runing Tests +Run tests using: ``` pytest tests/ ``` diff --git a/environment/scripts/setup.sh b/environment/scripts/setup.sh index b06da0d..d19ccca 100755 --- a/environment/scripts/setup.sh +++ b/environment/scripts/setup.sh @@ -29,9 +29,25 @@ if [ -d "$HOME/miniconda3" ]; then fi else echo "Installing Miniconda..." - wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh - bash Miniconda3-latest-Linux-x86_64.sh -b -p $HOME/miniconda3 - rm Miniconda3-latest-Linux-x86_64.sh + #check if mac + if [ $OSTYPE == 'darwin'* ]; then + #if apple silicon + if [uname -p == 'arm']; then + curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh + bash Miniconda3-latest-MacOSX-arm64.sh -b -p $HOME/miniconda3 + rm Miniconda3-latest-MacOSX-arm64.sh + #if intel + else + curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh + bash Miniconda3-latest-MacOSX-x86_64.sh -b -p $HOME/miniconda3 + rm Miniconda3-latest-MacOSX-x86_64.sh + fi + #otherwise assume linux + else + wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh + bash Miniconda3-latest-Linux-x86_64.sh -b -p $HOME/miniconda3 + rm Miniconda3-latest-Linux-x86_64.sh + fi init_conda fi