Skip to content

gracecarey/my_dev_environment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

My Dev Environment

Xcode

  • Install: $xcode-select --install
  • Confirm install $xcode-select -p Should yeild /Applications/Xcode.app/Contents/Developer

Homebrew

  • Install: $ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Get installed version: $brew -v
  • Update (run before package installs): $brew update
  • Upgrade brew packages: $brew upgrade
  • Check for errors: $brew doctor
  • Homebrew site

Git

  • Install: $brew install git
  • Confirm install: $git --version
  • Github for Mac download: Github site
  • Add file/dir to gitignore: echo venv/ >> .gitignore

Markdown

Atom (IDE)

  • Atom download: Atom site
  • Atom package search
  • Install package: $apm install [package_name]
  • Install atom packages from file: $apm install --packages-file apm-package-list.txt
  • Update atom packages file: $apm list --installed --bare > apm-package-list.txt

Sublime Text 3 (IDE)

  • Package control install: Manually (https://packagecontrol.io/docs/usage)
  • Install packages: cmd+shift+P (type 'install', 'list') Anaconda, SideBarEnhancements
  • Install subl command: sudo ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/bin/subl
  • Save project: Project > Save Project As... (create PROJECT-NAME.sublime-workspace and PROJECT-NAME.sublime-project)
  • Edit project: Edit PROJECT-NAME.sublime-project file. Include settings:
{
  // { ...existing props... },
  "settings":
  {
    "anaconda_gutter_theme": "Bright",
    "python_interpreter": "/full/path/to/project/venv/bin/python"
  }
}
  • Open project with subl command line tool: subl PROJECT-NAME.sublime-workspace
  • Preferences > Settings > User (base settings): Modified from mjhea0 base settings
  • Preferences > More(to create) or Browse Packages > Python.sublime-settings: Modified from mjhea0 Python settings

Pip (Python package installer)

Python Virtual Environment

  • Install venv package: $pip install virtualenv
  • Create new virtual environment: $virtualenv venv
  • Enter virtual environment: $source venv/bin/activate
  • Exit virtual environment: $deactivate

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published