- Install: $
xcode-select --install
- Confirm install $
xcode-select -p
Should yeild /Applications/Xcode.app/Contents/Developer
- 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
- Install: $
brew install git
- Confirm install: $
git --version
- Github for Mac download: Github site
- Add file/dir to gitignore:
echo venv/ >> .gitignore
- Markdown basics docs
- Github flavored markdown (GMF) docs
- Gitbhub flavored markdown Chrome plugin
- In Chrome > preferences, check Allow access to file URL's to view local files
- Language specific code highlighting docs - e.g. 'bash' After install, check "Allow access to file URLs" in Preferences > Extensions > Markdown Preview Drag file into chrome
- 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
- 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
- Save current packages to requirements file: $
pip freeze > requirements.txt
- Publishing a package tutorial: http://peterdowns.com/posts/first-time-with-pypi.html
- Install venv package: $
pip install virtualenv
- Create new virtual environment: $
virtualenv venv
- Enter virtual environment: $
source venv/bin/activate
- Exit virtual environment: $
deactivate