Skip to content

RedesignScience/rs_public_install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

RS_PUBLIC_INSTALL

A package to help install Redesign Science's toolkit for a first time user.

Pre-requisites:

  1. access to our private R_S github repo
  2. obtained AWS keys from our DevOps team

The installation will attempt to download, install and then run our internal installer rs_install. The rs_install installer will:

  1. install conda
  2. create an rs conda environment
  3. download & install packages and their dependencies
  4. download and install key configuration files

Mac

If running on an Apple Silicon machine (eg. M1/M2), Rosetta is required to install dependencies that currently only have builds for x86 architecture. Rosetta can be installed via the following command:

softwareupdate --install-rosetta

Go to the directory in which you want to store the packages. Then run:

python -c "$(curl -fsSL https://raw.githubusercontent.com/RedesignScience/rs_public_install/main/rs_public_install.py)"

This will download Redesign's Python modules using the latest rs_install version to a rs folder within the current directory and install them to the rs conda environment. You can modify the code in the rs folder and it will modify the modules which are run from within the rs environment.

If you need to install Conda, once the script has installed Conda, it will stop.

This is to allow you to restart the terminal with special Conda environments.

Then you should go back the directory and rerun the script to continue.

Ubuntu

As a prerequisite for the Ubuntu install script, make sure you have a public key registered under your GitHub account, and that either you are working from a SSH text session with SSH agent forwarding enabled or you have the private key stored locally - detailed instructions.

Go to the directory in which you want to store the packages. Then, to run with defaults:

python -c "$(wget --output-document -  https://raw.githubusercontent.com/RedesignScience/rs_public_install/main/rs_public_install.py)"

If you need to install Conda, once the script has installed Conda, it will stop.

This is to allow you to restart the terminal with special Conda environments.

Then you should go back the directory and rerun the script to continue.

About

Minimal public installer for first time users

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages