This is the repository to be used by those interested in boot strapping their environment to run their own personal projects
-
Join GitHub
-
Install Slack
-
Join NIA Slack Organization
-
Install Python 3.7.2 (Check off "Add Python 3.7 to PATH")
-
Install Git Bash:
-
Open Git Bash and navigate to home directory to create .bashrc file
touch ~/.bashrcAdd the following code to the bashrc file
# Enable calling python executable alias python='winpty python.exe' # Setup proxy PROXY_OPT=--proxy=--proxy=http://... # Enable building environment through command alias buildenv='source $(git rev-parse --show-toplevel)/tools/build_env.sh' alias cleanenv='$(git rev-parse --show-toplevel)/tools/clean_env.sh' alias setproxy='PROXY_OPT=--proxy=http://...' alias clrproxy='PROXY_OPT='
-
Exit Git Bash and re-open it or run "source ~/.bashrc" to make the new commands available for execution while in git bash. The commands are to be used as follows:
buildenv - Used to create the python virtual environment and install all dependencies
cleanenv - Used to remove virtual environment build folder and exit environment if it's active
-
Clone repository:
``git clone https://github.com/NIAGroup/PythonBootstrap```
-
Enable git flow:
cd <repo_path> git flow init