├── .gitignore ├── Linux └── README.md ├── Mac ├── Getting-Started-Setup-pics │ ├── Git1-Open_Install_Package.png │ ├── Git2-Use_Contextual_Menu_Open.png │ ├── Git3-Select_Open.png │ ├── Git4-Inroduction.png │ ├── Git5-Standard_Install.png │ ├── Git6-Enter_Password.png │ ├── Git7-Success.png │ ├── NodeJS1-Introduction.png │ ├── NodeJS2-License.png │ ├── NodeJS3-Accept_Terms.png │ ├── NodeJS4-Standard_Install.png │ └── NodeJS5-Summary.png └── README.md ├── PythonDjango.md ├── README.md ├── VS Code └── README.md └── Windows ├── Getting-Started-Setup-pics ├── Compass.png ├── Git01-License.PNG ├── Git02-Select_Destination.PNG ├── Git03-Check_for_Updates.PNG ├── Git04-Start_Menu.PNG ├── Git05-Default_Text_Editor_VIM.PNG ├── Git06-Default_Text_Editor_VSC.png ├── Git07-GitBash_and_CMD.PNG ├── Git08-HTTPS.PNG ├── Git09-Line_Endings.PNG ├── Git10-Terminal_Emulation.PNG ├── Git11-Extra_Options.PNG ├── MongoDB1.png ├── MongoDB2.png ├── MongoDB3.png ├── MongoDB4.png ├── MongoDB5.png ├── MongoDB6.png ├── NodeJS1-Setup_Wizard.PNG ├── NodeJS2-Accept_Terms.PNG ├── NodeJS3-Select_Destination.PNG ├── NodeJS4-setup_DEFAULT.PNG ├── NodeJS5-Install.PNG ├── NodeJS6-Finish.PNG ├── VSC1-Setup_Wizard.PNG ├── VSC2-Accept_Terms.PNG ├── VSC3-Selectt_Destination.PNG ├── VSC4-Start_Menu.PNG ├── VSC5-Extra_Options.PNG ├── Yarn1-Setup_Wizard.PNG ├── Yarn2-Accept_Terms.PNG ├── Yarn3-Select_Destination.PNG └── Yarn4-Install.PNG └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | # macOS system resource file 2 | .DS_Store 3 | 4 | # NodeJS modules 5 | node_modules 6 | 7 | # VIM resource files 8 | *.sw[a-p] 9 | 10 | # VSC resource files 11 | .vs 12 | -------------------------------------------------------------------------------- /Linux/README.md: -------------------------------------------------------------------------------- 1 | # Welcome to Lambda School's Installation Guide for your Linux operating system 2 | - You are welcome to use whichever Linux OS you are comfortable with. 3 | - These instructions have been tested with Ubuntu 18.04 LTS. 4 | - These instructions should be applicable to any Debian based Linux system (e.g. Arch, Mint, _et cetera_) 5 | - Suggestion: pin apps to taskbar (Ubuntu equivalent name?) 6 | 7 | ### "How do I find out if my Linux computer uses 32-bit or 64-bit?" 8 | 1. Open the System Settings (from the top right pulldown menu) 9 | 2. Click on Details, or 10 | ```console 11 | $ lscpu 12 | Architecture: x86_64 <--- The "64" means you use 64-bit and it's capable of running both. 13 | CPU op-mode(s): 32-bit, 64-bit <--- If you only see the 32-bit mode listed, you’re running a 32-bit version of Linux. 14 | Byte Order: Little Endian 15 | ... 16 | ``` 17 | 18 | # Development Environment Set-Up 19 | 1. Open the FireFox web browser. 20 | 2. Install the Google [Chrome](https://www.google.com/chrome/) web browser. 21 | 3. Close Firefox. 22 | 4. Open Chrome. 23 | 5. Install [Git](https://git-scm.com/download/linux) 24 | ```console 25 | $ sudo apt install git 26 | ... 27 | $ git version 28 | git version 2.17.0 29 | ``` 30 | 6. Install the LTS (Long Term Support - i.e. "stable") version of [Node](https://nodejs.org/) 31 | ```console 32 | $ sudo apt install nodejs 33 | $ node -v 34 | v8.10.0 35 | ``` 36 | 7. Install Text Editor ([Atom](https://atom.io/), [Visual Studio Code](https://code.visualstudio.com/download), Sublime, Brackets, et cetera. 37 | 8. Install [cURL to install Yarn](https://yarnpkg.com/lang/en/docs/install/#debian-stable) 38 | ```consoles 39 | $ sudo apt install curl 40 | $ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - 41 | OK 42 | $ echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list 43 | deb https://dl.yarnpkg.com/debian/ stable main 44 | $ yarn -v 45 | 1.6.0 46 | ``` 47 | 9. Install [Postman](https://www.getpostman.com/) 48 | - Extract Postman from the compressed file, e.g. Postman-linux-x64-6.0.10.tar.gz 49 | - Move the extracted Postman folder from the Downloads folder to the /opt directory 50 | ```console 51 | $ sudo mv ~/Downloads/Postman /opt/Postman 52 | ``` 53 | - Create a symbolic link from the application file to a directory in your $PATH 54 | ```console 55 | $ sudo ln -s /opt/Postman/Postman /usr/bin/postman 56 | ``` 57 | - if you get a Gtk-Message: "Failed to load module "canberra-gtk-module" you can `$ sudo apt install libcanberra-gtk-module` 58 | 10. Install [MongoDB](https://docs.mongodb.com/manual/administration/install-on-linux/) 59 | - Make a database directory: `$ sudo mkdir -m 777 -p /data/db` 60 | - Select the latest version of the Community server for Ubuntu from https://www.mongodb.com/download-center?jmp=nav#community 61 | - Extract MongoDB from the compressed file, e.g. mongodb-linux-x86_64-ubuntu1604-3.6.4.tgz 62 | - Move the extracted MongoDB folder from the Downloads folder to the /opt Directory 63 | ```console 64 | $ sudo mv ~/Downloads/mongodb-linux-x86_64-ubuntu1604-3.6.4 /opt/MongoDB 65 | ``` 66 | - Create a symbolic link from the application file to a directory in your $PATH 67 | ``` 68 | $ sudo ln -s /opt/MongoDB/bin/mongod /usr/bin/mongod 69 | $ sudo ln -s /opt/MongoDB/bin/mongo /usr/bin/mongo 70 | ``` 71 | - Now both the MongoDB daemon `mongod` and the `mongo` tools are available to you. 72 | 11. Install [Compass](https://www.mongodb.com/download-center?jmp=nav#compass) 73 | 12. Install [Zoom](https://zoom.us/download) 74 | 13. Install [Slack](https://www.slack.com/downloads/windows) 75 | 88 | 89 | # other things? 90 | 91 | # Speedy 'nix tricks 92 | - Digital color meter: https://alternativeto.net/software/digitalcolor-meter/?platform=linux 93 | - GNOME Screenshot and Screencast ships with Ubuntu: https://help.ubuntu.com/stable/ubuntu-help/screen-shot-record.html 94 | - use the `nautilus` command to open files in Gnome's desktop file manager, Nautilus, e.g. `nautilus` to open the working directory. 95 | 96 | # Chrome magic 97 | - React Developer Tools plugin. 98 | - Redux Developer Tools plugin. 99 | - One Tab plug-in to minimize open tabs into a list of URLs 100 | - HTTPS everywhere (Ad Blocker? From EFF. 101 | - `ctrl + l` focuses to the Location Bar. 102 | - ctrl+option+ left right arrow to cycle through open tabs??? 103 | 104 | # Text Editor efficiency 105 | -------------------------------------------------------------------------------- /Mac/Getting-Started-Setup-pics/Git1-Open_Install_Package.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Mac/Getting-Started-Setup-pics/Git1-Open_Install_Package.png -------------------------------------------------------------------------------- /Mac/Getting-Started-Setup-pics/Git2-Use_Contextual_Menu_Open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Mac/Getting-Started-Setup-pics/Git2-Use_Contextual_Menu_Open.png -------------------------------------------------------------------------------- /Mac/Getting-Started-Setup-pics/Git3-Select_Open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Mac/Getting-Started-Setup-pics/Git3-Select_Open.png -------------------------------------------------------------------------------- /Mac/Getting-Started-Setup-pics/Git4-Inroduction.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Mac/Getting-Started-Setup-pics/Git4-Inroduction.png -------------------------------------------------------------------------------- /Mac/Getting-Started-Setup-pics/Git5-Standard_Install.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Mac/Getting-Started-Setup-pics/Git5-Standard_Install.png -------------------------------------------------------------------------------- /Mac/Getting-Started-Setup-pics/Git6-Enter_Password.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Mac/Getting-Started-Setup-pics/Git6-Enter_Password.png -------------------------------------------------------------------------------- /Mac/Getting-Started-Setup-pics/Git7-Success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Mac/Getting-Started-Setup-pics/Git7-Success.png -------------------------------------------------------------------------------- /Mac/Getting-Started-Setup-pics/NodeJS1-Introduction.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Mac/Getting-Started-Setup-pics/NodeJS1-Introduction.png -------------------------------------------------------------------------------- /Mac/Getting-Started-Setup-pics/NodeJS2-License.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Mac/Getting-Started-Setup-pics/NodeJS2-License.png -------------------------------------------------------------------------------- /Mac/Getting-Started-Setup-pics/NodeJS3-Accept_Terms.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Mac/Getting-Started-Setup-pics/NodeJS3-Accept_Terms.png -------------------------------------------------------------------------------- /Mac/Getting-Started-Setup-pics/NodeJS4-Standard_Install.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Mac/Getting-Started-Setup-pics/NodeJS4-Standard_Install.png -------------------------------------------------------------------------------- /Mac/Getting-Started-Setup-pics/NodeJS5-Summary.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Mac/Getting-Started-Setup-pics/NodeJS5-Summary.png -------------------------------------------------------------------------------- /Mac/README.md: -------------------------------------------------------------------------------- 1 | # Welcome to Lambda School's Installation Guide for macOS 2 | - suggestion: Keep apps to Dock. 3 | 4 | # Development Environment Set-Up 5 | 1. Open the Safari web browser. 6 | 2. Install the Google [Chrome](https://www.google.com/chrome/) web browser. 7 | 3. Close Safari. 8 | 4. Open Chrome. 9 | 5. Download [Git](https://git-scm.com/download/mac) tools. 10 | - Confirm your installation. The version check command should report similarly: 11 | ```console 12 | $ git version 13 | git version 2.15.1 (Apple Git-101) 14 | ``` 15 | 6. Install the LTS (Long Term Support - i.e. "stable") version of [NodeJS](https://nodejs.org/). 16 | - Confirm your installation: 17 | ```console 18 | $ node -v 19 | v8.11.1 20 | $ npm -v 21 | 5.6.0 22 | ``` 23 | 7. Install a Text Editor: 24 | - [Atom](https://atom.io/) 25 | - [Visual Studio Code](https://code.visualstudio.com/download) 26 | - [Sublime](https://www.sublimetext.com/3) (nagware) 27 | - [Brackets](http://brackets.io/) 28 | 8. Install Xcode and the Xcode CLI (Command Line Interface) tools: 29 | - Install Xcode: https://developer.apple.com/xcode/downloads/ 30 | - Confirm your installation: 31 | ```console 32 | $ xcode-select --version 33 | xcode-select version 2349. 34 | ``` 35 | - Install Xcode CLI tools: https://developer.apple.com/download/more/ 36 | - Xcode CLI installs additional tools such as `gcc`. Confirm your installation by using the `version` command on one to the tools Xcode CLI installs. You should see something like this: 37 | ```console 38 | $ gcc --version 39 | Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/c++/4.2.1 40 | Apple LLVM version 9.1.0 (clang-902.0.39.1) 41 | Target: x86_64-apple-darwin17.5.0 42 | Thread model: posix 43 | InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin 44 | ``` 45 | - If you see the following, then you have not yet installed Xcode CLI tools: 46 | ```bash 47 | $ gcc 48 | xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools. 49 | ``` 50 | - NOTE: there are also the Additional Tools for Xcode, but I don't think we need these for Lambda School: 51 | > This package includes audio, graphics, hardware i/o and auxiliary tools formally bundled in Xcode. These tools include: AU Lab, HALLab, OpenGL Driver Monitor, OpenGL Profiler, Pixie, Quartz Composer, Quartz Composer Visualizer, Quartz Debug, Apple Bluetooth Guidelines Validation (Requires macOS Sierra), Bluetooth Explorer (Requires macOS Sierra), HomeKit Accessory Simulator, IO Registry Explorer, Network Link Conditioner.prefpane, PacketLogger, Printer Simulator, 64BitConversion, Clipboard Viewer, CrashReporterPrefs, Dictionary Development Kit, Help Indexer, Modem Scripts and Repeat After Me. 52 | 53 | 9. Install [PostMan](https://www.getpostman.com). 54 | 10. Install [MongoDB Community Edition](https://www.mongodb.com/download-center?jmp=nav#community) 55 | - https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/ 56 | - Choose the Current Stable Release (Currently 3.6.3) 57 | - Select "OS X 10.7+ 64-bit w/SSL x64" 58 | - Download and install 59 | - Or, you can [follow the instructions to install with Homebrew](https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/#install-mongodb-community-edition-with-homebrew). 60 | 11. Install [Compass](https://www.mongodb.com/download-center?jmp=nav#compass) 61 | - Select the latest verion of "Community Edition Stable" (currently 1.12.4). 62 | - Select "OS X 64-bit (10.10+)" 63 | - Download and install. 64 | 12. Install [Zoom](https://zoom.us/download). 65 | 13. If you haven't already, install [Slack](https://slack.com/downloads/osx). 66 | 67 | # other things? 68 | - [Homebrew](https://brew.sh/) 69 | - remember to `$ brew missing && brew update && brew cleanup && brew cask cleanup && brew prune && brew upgrade && brew doctor` often. Twice ...or more. The `&&` syntax means if one fails, the others won't run. Maybe this isn't best practice to always be upgrading... maybe don't need cask cleanup? ::thinks:: https://medium.com/@waxzce/keeping-macos-clean-this-is-my-osx-brew-update-cli-command-6c8f12dc1731 & brew cask (doctor cleanup upgrade) https://github.com/caskroom/homebrew-cask/blob/master/USAGE.md 70 | - telnet (no longer a part of macOS): `brew install telnet` 71 | - [React Native SDK](https://developers.facebook.com/docs/react-native) 72 | - [Expo XDE](https://expo.io/tools#client) (React-Native) - LOOK FOR NOTE on how to get Expo to reload fast 73 | - [ngrok](https://ngrok.com/download) Also available through `npm install ngrok` & `brew install ngrok` 74 | - [Firefox](https://www.mozilla.org/en-US/firefox/new/) & [Opera](https://www.opera.com/)? Opera has "free" VPN :\ 75 | - [ScreenFlow](https://www.telestream.net/screenflow/overview.htm) 76 | - [RoboMongo](https://robomongo.org/download): Robo 3T 77 | - similar type app for mysql? (workbench?) https://dev.mysql.com/downloads/workbench/ (Confirm the set up) 78 | 79 | # Speedy macOS tricks 80 | - `⌘ + spacebar` for the Spotlight Search. 81 | - `⌘ + tab` to cycle through applications. 82 | - macOS: check out the Digital Color Meter app (In the /Applications/Utilities folder) 83 | - `cmd + SHIFT + 3` Screen grab 84 | - `cmd + SHIFT + 4` Select area screen grab 85 | - https://gist.github.com/dergachev/4627207 86 | - https://gifox.io/function 87 | - Is everything up to date? 88 | ```console 89 | $ softwareupdate --list 90 | Software Update Tool 91 | 92 | Finding available software 93 | No new software available. 94 | ``` 95 | - Enable Root User: launch the Directory Utility app. Click the lock icon to make changes. From the Edit menu, select "Enable Root User" 96 | - Enable QuickTime to record system sounds with Screen Recordings: https://github.com/mattingalls/Soundflower/releases/ 97 | 98 | # Chrome magic 99 | - React Developer Tools plugin. not sure about this url: https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi 100 | - Redux Developer Tools plugin or this one: https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd 101 | - [One Tab](https://www.one-tab.com/) plug-in to minimize open tabs into a list of URLs 102 | - [HTTPS Everywhere](https://www.eff.org/https-everywhere) (& [Ad Blocker](https://www.eff.org/privacybadger)? From EFF). 103 | - `⌘ + l` focuses to the Location Bar. 104 | - `cmd+option+ left or right arrow` to cycle through open tabs 105 | 106 | # Text Editor efficiency 107 | - Global project search: ctrl-shift-f VSC, cmd+shift+f Atom 108 | - Select matching pattern: `cmd`+`D` Atom and VSC 109 | - Setting up Folder Action to open a folder in Atom: 110 | - Open Automator 111 | - Create a new Service 112 | - Set “Service receives selected” to files or folders in any application 113 | - Add a Run Shell Script action 114 | - Set the script action to /usr/local/bin/atom -n "$@" 115 | - Set “Pass input” to as arguments 116 | - Save as Open in Atom 117 | - additional info: https://gist.github.com/idleberg/874790e8e3c8b1419e4439d0a48d2aa5 118 | 119 | # Command Line Interface Tools Installed with Xcode CLI 120 | - You do not _need_ the XCode.app, just the CLI Tools. 121 | - In particular, you will be using `gcc` and `make`. 122 | - With their installation, you will receive a host of developer tools: 123 | ``` 124 | ar 125 | as 126 | asa 127 | bison 128 | BuildStrings 129 | c++ 130 | c89 131 | c99 132 | cc 133 | clang 134 | clang++ 135 | cmpdylib 136 | codesign_allocate 137 | CpMac 138 | cpp 139 | ctags 140 | ctf_insert 141 | DeRez 142 | dsymutil 143 | dwarfdump 144 | dyldinfo 145 | flex 146 | flex++ 147 | g++ 148 | gatherheaderdoc 149 | gcc 150 | gcov 151 | GetFileInfo 152 | git 153 | git-cvsserver 154 | git-receive-pack 155 | git-shell 156 | git-upload-archive 157 | git-upload-pack 158 | gm4 159 | gnumake 160 | gperf 161 | hdxml2manxml 162 | headerdoc2html 163 | indent 164 | install_name_tool 165 | ld 166 | lex 167 | libtool 168 | lipo 169 | lldb 170 | lorder 171 | m4 172 | make 173 | MergePef 174 | mig 175 | mkdep 176 | MvMac 177 | nasm 178 | ndisasm 179 | nm 180 | nmedit 181 | otool 182 | pagestuff 183 | projectInfo 184 | ranlib 185 | rebase 186 | redo_prebinding 187 | ResMerger 188 | resolveLinks 189 | Rez 190 | RezDet 191 | RezWack 192 | rpcgen 193 | segedit 194 | SetFile 195 | size 196 | SplitForks 197 | strings 198 | strip 199 | svn 200 | svnadmin 201 | svndumpfilter 202 | svnlook 203 | svnrdump 204 | svnserve 205 | svnsync 206 | svnversion 207 | unifdef 208 | unifdefall 209 | UnRezWack 210 | unwinddump 211 | what 212 | xml2man 213 | yacc 214 | ``` 215 | 216 | per Beej's [Getting Your C Compiler Installed](https://github.com/LambdaSchool/CS-Wiki/wiki/Getting-Your-C-Compiler-Installed#macos): 217 | ### Option A: Command Line Tools 218 | 219 | - Open a Terminal. 220 | - Run `xcode-select --install`. 221 | - When prompted to install the developer command line tools, click `Install`. 222 | 223 | :octocat: 224 | -------------------------------------------------------------------------------- /PythonDjango.md: -------------------------------------------------------------------------------- 1 | # Notes and resources for installation/setup of Python/Django 2 | 3 | _This is a work-in-progress, and may be adjusted or moved/incorporated with 4 | other material._ 5 | 6 | ## Getting started 7 | Start by making sure you have Python 3 and pip installed. You may already, and 8 | can check at the command line: 9 | 10 | ``` 11 | python --version # Should be >3 12 | pip --version # Should be >9 13 | ``` 14 | 15 | If you don't, then installation depends on your platform - for MacOS (which has 16 | Python 2 by default), `brew install python` gives Python 3. For Linux, similar 17 | commands should work for your native package manager. For Windows, you can 18 | use: https://www.python.org/downloads/ 19 | 20 | ## Key concepts to know 21 | 22 | - Python development uses virtual environments to encapsulate both the 23 | dependencies and the actual binaries for the version of Python/pip being used. 24 | The common paradigm is to create a virtual environment to use with a project, 25 | and then activate that environment in the shell before starting work. 26 | - Git is an important part of our development flow, and you will want to start 27 | getting comfortable with branches, merging, and other more "powerful" use cases. 28 | - SQLite is great for local development, but for deploying we will be using 29 | PostgreSQL or similar. Your project can be configured to switch/use both. 30 | - Do not check in secrets or your virtual environment! Official repos have a 31 | `.gitignore` to help prevent this, and if you create your own repos the 32 | GitHub-provided `.gitignore` if you select Python as the language for your repo 33 | is pretty good. 34 | 35 | ## Common commands to know 36 | 37 | - Python 38 | - `pip install -r requirements.txt` - install Python packages from a requirements.txt file 39 | - `virtualenv env` - create a new virtual environment in the directory `./env` 40 | - `source bin/activate` - activate virtual environment created by `virtualenv` 41 | - `pipenv install` - newer command, both installs dependencies *and* makes an environment 42 | - `pipenv shell` - activate virtual environment created by `pipenv` 43 | - Django 44 | - `python manage.py runserver` - start the Django server 45 | - `python manage.py makemigrations` - create migrations (SQL update statements) based on model changes 46 | - `python manage.py migrate` - apply migrations to the database 47 | - `python manage.py help` - see available commands and get help for them 48 | - Heroku 49 | - `heroku login` - authorize the Heroku CLI with your account 50 | - `heroku create your-app` - make a new Heroku application (execute within your repository) 51 | - `heroku addons:create heroku-postgresql:hobby-dev` - make a PostgreSQL db and configure the `DATABASE_URL` environment variable so Django can connect to it 52 | - `git push heroku master` - deploy to Heroku 53 | - Git 54 | - `git fetch upstream` - pull down upstream changes to your local repository 55 | - `git branch` - see a list of what branches are available 56 | - `git checkout -b newbranch` - make a new branch (usually do this before committing new changes) 57 | - `git checkout otherbranch` - switch to another (existing) branch 58 | - `git merge otherbranch` - merge another branch into your current branch 59 | 60 | ## Resources 61 | You do not need to use *all* of these, but check them out and see which ones 62 | work well for you. 63 | 64 | - Python 65 | - http://docs.python-guide.org/en/latest/intro/learning/ 66 | - https://docs.python.org/3/ 67 | - https://github.com/arogozhnikov/python3_with_pleasure 68 | - https://www.python.org/dev/peps/pep-0008/ 69 | - https://google.github.io/styleguide/pyguide.html 70 | - https://repl.it/languages/Python3 71 | - https://marketplace.visualstudio.com/items?itemName=ms-python.python 72 | - https://code.visualstudio.com/docs/python/environments 73 | - https://docs.python.org/3.6/library/pdb.html 74 | - https://docs.pipenv.org/ 75 | - https://github.com/pypa/pipfile 76 | - Django 77 | - https://docs.djangoproject.com/en/2.0/intro/ 78 | - https://djangopackages.org/ 79 | - http://awesome-django.com/ 80 | - https://spapas.github.io/2017/10/11/essential-django-packages/ 81 | - https://djangobook.com/the-django-book/ 82 | - https://tutorial.djangogirls.org/en/ 83 | - https://simpleisbetterthancomplex.com/ 84 | - https://www.fullstackpython.com/django.html 85 | - https://www.codingforentrepreneurs.com/blog/install-python-django-on-windows/ 86 | - https://www.codingforentrepreneurs.com/blog/install-django-on-mac-or-linux/ 87 | - https://dev.to/grahamlyons/the-quickest-way-to-run-python-in-docker-165 88 | - https://github.com/graphql-python/graphene-django 89 | - https://github.com/pennersr/django-allauth 90 | - https://django-testing-docs.readthedocs.io/en/latest/views.html 91 | - http://www.django-rest-framework.org/ 92 | - https://hackernoon.com/creating-websites-using-react-and-django-rest-framework-b14c066087c7 93 | - https://stackoverflow.com/questions/41867055/how-to-get-django-and-reactjs-to-work-together 94 | - https://blog.doordash.com/tips-for-building-high-quality-django-apps-at-scale-a5a25917b2b5 95 | - http://www.paulox.net/2017/12/22/full-text-search-in-django-with-postgresql/ 96 | - Heroku 97 | - https://devcenter.heroku.com/articles/heroku-cli 98 | - https://devcenter.heroku.com/articles/getting-started-with-python#introduction 99 | - https://devcenter.heroku.com/articles/config-vars 100 | - https://medium.com/@nicholaskajoh/deploy-your-react-django-app-on-heroku-335af9dab8a3 101 | - Git 102 | - https://www.atlassian.com/git/articles/git-forks-and-upstreams 103 | - https://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging 104 | - https://hackernoon.com/lesser-known-git-commands-151a1918a60 105 | - Other 106 | - https://www.howtographql.com/ 107 | - https://www.postgresql.org/docs/ 108 | - https://sqlite.org/cli.html 109 | - http://latacora.singles/2018/04/03/cryptographic-right-answers.html 110 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Getting-Started 2 | 3 | ### NOTES 4 | - https://lambdaschoolstudents.slack.com/archives/G8W8LT9SM/p1518711817000364 5 | - TODO: Linux 6 | 7 | ### Minimum hardware requirements - accurate? 8 | - 2GHz processor 9 | - 4GB RAM (8GB is preferable) 10 | - 20GB of hard drive space 11 | - NOTE: this is in addition to a minimum of 10% free space on your internal hard-disk or solid-state drive. 12 | - For example, if you have a 500GB capacity drive, then you will want at the very minimum 50GB of unallocated (free) storage space for optimal system performance. 13 | - In addition to this free space, you will need 20GB of storage space for your work at Lambda School and the tools you'll need. 14 | - In this scenario, with a 500GB drive, at the very minimum you would need 70GB of free space on a 500GB drive. 15 | - If, however, your internal drive is already within 20% of capacity (i.e. 400GB used on a 500GB capacity drive), then we recommend that you archive as much data as you can to free up some drive space. 16 | 17 | ### Minimum storage requirements for Lambda School projects and requisite tools: ~20GB 18 | | Tool | Storage | Cost | 19 | |---|---|---| 20 | | Lambda School projects | ~ 10GB | Free | 21 | | Chrome | ~400MB | Free | 22 | | Git | ~ 80MB | Free | 23 | | GitBash (Windows) | ??? | Free | 24 | | Xcode & Xcode CLI Tools (macOS) | ~ 11**GB** | Free (requires Apple user account) | 25 | | NodeJS | ~ 60MB | Free | 26 | | NodeJS packages | ~ 30MB including `create-react-app`, `lessc`, `nodemon`, `yarn` | Free | 27 | | Text Editor | (see table below) | Free | 28 | | Zoom | ~ 30MB | Free | 29 | | Slack | ~220MB | Free | 30 | | PostMan | ~260MB | Free | 31 | | MongoDB & mongod | ~200MB | Free | 32 | | MongoDB GUI | ~ 60MB Robo 3T , 500MB MongoDB Compass) | Free | 33 | 34 | | Text Editor | Application Size | Cost | 35 | |---|---|--:| 36 | | Vim | ~ 2MB | Free | 37 | | Sublime | ~ 30MB | Free nagware* or $80US per single user | 38 | | Emacs | ~ 50MB | Free | 39 | | VSC | ~200MB | Free | 40 | | Atom | ~500MB | Free | 41 | 42 | * https://www.sublimetext.com/buy Sublime is a great text editor. The free version is fully-functional. It will occasionally remind to to buy a license (i.e. "nagware"). Licenses are per user, not per machine. If you like it, why not let Jon Skinner and Will Bond know by buying a license? 43 | 44 | *** 45 | 46 | # Installation Guide for _YOUR_ operating system 47 | If you have adequate storage, processor speed and memory (RAM), please follow the instruction guide for your operating system: 48 | 1. [Linux](Linux/README.md) 49 | 2. [macOS](Mac/README.md) 50 | 3. [Windows](Windows/README.md) 51 | 52 | If you do not meet the minimum hardware and storage requirements, please fill out this form: [Lambda School Loaner Device Request](https://airtable.com/shrEHS8dPFyhcYBMI) 53 | 54 | # Once you are done with the installation guide for your operating system, please continue to install the following tools. 55 | ## DO NOT proceed unless you have completed the Installation Guide. 56 | 57 | Having downloaded the NodeJS installer and installed NodeJS on your computer you will have _both_ the `node` and `npm` commands available. Now launch your console. NOTE: it is a convention to use the dollar sign `$` to indicate the console prompt. You want to use the commands which follow this prompt - do not enter `$` into the console. Nothing bad will happen, but the console (i.e. terminal, shell) won't know what to make of it. If you include the `$` you may get a return message like so: `bash: $: command not found` That said, you can confirm that the `node` and `npm` commands are installed like so: 58 | 59 | ```console 60 | $ node -v 61 | v8.11.1 62 | $ npm -v 63 | 5.6.0 64 | ``` 65 | 66 | Now use the NodeJS Package Manager (`npm`) to install some additional NodeJS packages. With the following command, the `i` is short for "i"nstall (you could spell out `install` but you can save six whole keystrokes!) The `-g` flag let's the `npm` command know to install these packages "g"lobally on your system. 67 | 68 | ```console 69 | $ npm i -g less less-watch-compiler create-react-app nodemon yarn 70 | ``` 71 | 72 | If you get warnings and errors about permissions, you may need to invoke this command by prepending it with `sudo` - the "s"uper "u"ser "do" command. This will allow the command to be run with more security privileges. You will be prompted for your password. 73 | 74 | ```console 75 | $ sudo npm i -g create-react-app less nodemon yarn 76 | Password: 77 | /usr/local/bin/create-react-app -> /usr/local/lib/node_modules/create-react-app/index.js 78 | 79 | /usr/local/bin/lessc -> /usr/local/lib/node_modules/less/bin/lessc 80 | /usr/local/bin/nodemon -> /usr/local/lib/node_modules/nodemon/bin/nodemon.js 81 | /usr/local/bin/yarn -> /usr/local/lib/node_modules/yarn/bin/yarn.js 82 | /usr/local/bin/yarnpkg -> /usr/local/lib/node_modules/yarn/bin/yarn.js 83 | 84 | > nodemon@1.17.3 postinstall /usr/local/lib/node_modules/nodemon 85 | > node -e "console.log('\u001b[32mLove nodemon? You can now support the project via the open collective:\u001b[22m\u001b[39m\n > \u001b[96m\u001b[1mhttps://opencollective.com/nodemon/donate\u0 86 | 01b[0m\n')" || exit 0 87 | 88 | Love nodemon? You can now support the project via the open collective: 89 | > https://opencollective.com/nodemon/donate 90 | 91 | + less@3.0.1 92 | + create-react-app@1.5.2 93 | + nodemon@1.17.3 94 | + yarn@1.5.1 95 | updated 4 packages in 33.696s 96 | ``` 97 | 98 | *** 99 | 100 | # After you've complete the setup for your particular operating system 101 | You should be able to confirm that the following tools are installed on your machine and available through your environment's $PATH: 102 | 103 | ```console 104 | $ node -v 105 | v8.11.1 106 | $ npm -v 107 | 5.6.0 108 | $ create-react-app --version 109 | 1.5.2 110 | $ lessc -v 111 | lessc 3.0.1 (Less Compiler) [JavaScript] 112 | $ nodemon -v 113 | 1.17.3 114 | $ yarn -v 115 | 1.5.1 116 | $ mongod --version 117 | db version v3.6.3 118 | git version: 9586e557d54ef70f9ca4b43c26892cd55257e1a5 119 | OpenSSL version: OpenSSL 1.0.2o 27 Mar 2018 120 | allocator: system 121 | modules: none 122 | build environment: 123 | distarch: x86_64 124 | target_arch: x86_64 125 | ``` 126 | 127 | NOTE: these version numbers and the console readout may be different than yours. 128 | 129 | You can also confirm which global installations you've made with the NodeJS package manager: 130 | ```console 131 | $ npm list -g --depth=0 132 | /usr/local/lib 133 | ├── create-react-app@1.5.2 134 | ├── less@3.0.1 135 | ├── nodemon@1.17.3 136 | ├── npm@5.6.0 137 | └── yarn@1.5.1 138 | ``` 139 | 140 | *** 141 | 142 | # Sign Up! 143 | - [ ] [Zoom](https://www.zoom.us/signup) 144 | - [ ] [Slack](https://slack.com/) 145 | - [ ] [GitHub](https://www.github.com/) 146 | - [ ] [Google](https://accounts.google.com/SignUp) 147 | - [ ] [Repl.it](https://repl.it/signup) 148 | - [ ] [CodePen](https://codepen.io/) 149 | - [ ] [Trello](https://trello.com/signup) 150 | - [ ] [LinkedIn](https://www.linkedin.com) 151 | - [ ] [MLab](https://mlab.com/signup/) 152 | -------------------------------------------------------------------------------- /VS Code/README.md: -------------------------------------------------------------------------------- 1 | # VS Code 2 | 3 | ## Extensions 4 | 5 | Some popular extensions you might want to add to VS Code: 6 | 7 | * C/C++ 8 | * Debugger for Chrome 9 | * Django Template 10 | * ESLint 11 | * Gremlins 12 | * Markdown Preview GitHub 13 | * npm 14 | * npm intellisense 15 | * Python 16 | 17 | And others that various instructors have installed: 18 | 19 | * Docker 20 | * language-stylus 21 | * Rewrap 22 | * Spell Right 23 | * Vim 24 | 25 | ## See Also 26 | 27 | * [C/C++ Debugging in VS Code](https://github.com/LambdaSchool/CS-Wiki/wiki/C-and-Cpp-Debugging-in-VS-Code) -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/Compass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/Compass.png -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/Git01-License.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/Git01-License.PNG -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/Git02-Select_Destination.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/Git02-Select_Destination.PNG -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/Git03-Check_for_Updates.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/Git03-Check_for_Updates.PNG -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/Git04-Start_Menu.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/Git04-Start_Menu.PNG -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/Git05-Default_Text_Editor_VIM.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/Git05-Default_Text_Editor_VIM.PNG -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/Git06-Default_Text_Editor_VSC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/Git06-Default_Text_Editor_VSC.png -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/Git07-GitBash_and_CMD.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/Git07-GitBash_and_CMD.PNG -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/Git08-HTTPS.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/Git08-HTTPS.PNG -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/Git09-Line_Endings.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/Git09-Line_Endings.PNG -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/Git10-Terminal_Emulation.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/Git10-Terminal_Emulation.PNG -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/Git11-Extra_Options.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/Git11-Extra_Options.PNG -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/MongoDB1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/MongoDB1.png -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/MongoDB2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/MongoDB2.png -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/MongoDB3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/MongoDB3.png -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/MongoDB4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/MongoDB4.png -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/MongoDB5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/MongoDB5.png -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/MongoDB6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/MongoDB6.png -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/NodeJS1-Setup_Wizard.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/NodeJS1-Setup_Wizard.PNG -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/NodeJS2-Accept_Terms.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/NodeJS2-Accept_Terms.PNG -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/NodeJS3-Select_Destination.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/NodeJS3-Select_Destination.PNG -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/NodeJS4-setup_DEFAULT.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/NodeJS4-setup_DEFAULT.PNG -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/NodeJS5-Install.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/NodeJS5-Install.PNG -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/NodeJS6-Finish.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/NodeJS6-Finish.PNG -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/VSC1-Setup_Wizard.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/VSC1-Setup_Wizard.PNG -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/VSC2-Accept_Terms.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/VSC2-Accept_Terms.PNG -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/VSC3-Selectt_Destination.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/VSC3-Selectt_Destination.PNG -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/VSC4-Start_Menu.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/VSC4-Start_Menu.PNG -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/VSC5-Extra_Options.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/VSC5-Extra_Options.PNG -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/Yarn1-Setup_Wizard.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/Yarn1-Setup_Wizard.PNG -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/Yarn2-Accept_Terms.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/Yarn2-Accept_Terms.PNG -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/Yarn3-Select_Destination.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/Yarn3-Select_Destination.PNG -------------------------------------------------------------------------------- /Windows/Getting-Started-Setup-pics/Yarn4-Install.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloominstituteoftechnology/Getting-Started/a84675bcce0d70f47f0e1305b6650fc327dab152/Windows/Getting-Started-Setup-pics/Yarn4-Install.PNG -------------------------------------------------------------------------------- /Windows/README.md: -------------------------------------------------------------------------------- 1 | # Welcome to Lambda School's Installation Guide for your Windows operating system 2 | - suggestion: pin apps to taskbar, also include snipping tool for screen grabs. 3 | 4 | ### "How do I find out if my Windows computer uses 32-bit or 64-bit?" 5 | 1. Launch the Control Panel 6 | 2. Select System & Security 7 | 3. Select System 8 | 4. Look at the "System Type" 9 | 10 | Or, try these commands in CMD or Powershell: 11 | ```console 12 | > wmic os get caption 13 | > wmic os get osarchitecture 14 | ``` 15 | 16 | # Development Environment Set-Up 17 | 1. Open the Edge web browser. 18 | 2. Install the Google [Chrome](https://www.google.com/chrome/) web browser. 19 | 3. Close Edge. 20 | 4. Open Chrome. 21 | 5. Install [Git Bash](https://git-for-windows.github.io/). Also available here: https://git-scm.com/download/win (If you are having trouble, [read this](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)). 22 | * Just GitBash or the tools for PShell/CMD? See also: http://www.jamessturtevant.com/posts/5-Ways-to-install-git-on-Windows/ 23 | * With Git installer: TrueType on install? I think git-from-bash-only or CMD too? SSL (not native win secure channel lib)? CRLF/LF options (suggested)? MinTTY? No symbolic links (maybe)? SEE PICS. 24 | 6. Install the LTS (Long Term Support - i.e. "stable") version of [NodeJS](https://nodejs.org/). 25 | 7. Install [Yarn](https://yarnpkg.com). Options: 26 | 1. Yarn Installer: https://yarnpkg.com/latest.msi 27 | 2. If you are already very comfortable and confident with the package manager, "Chocolatey" you can install Yarn with the [Chocolatey](https://chocolatey.org/) package manager. Follow [these instructions](https://chocolatey.org/install). 28 | ```console 29 | choco install yarn 30 | ``` 31 | 8. Install a Text Editor ([Atom](https://atom.io/), [VSC](https://code.visualstudio.com/download), vim (comes w/git bash iirc), Sublime(nagware), Brackets, et cetera.) 32 | 9. Install [PostMan](https://www.getpostman.com). 33 | 10. Install [MongoDB Community Server](https://www.mongodb.com/download-center?jmp=nav#community) 34 | - Select the "Community Server" tab 35 | - Select Windows for the Current Stable Release (Currently 3.6.4) 36 | - Version: "Windows Server 2008 R2 64-bit and later, with SSL support x64" 37 | - Download the installation package (msi) and install 38 | - > During the installation process you will be given the option to install MongoDB Compass in addition to MongoDB Server. 39 | - **WARNING: DO NOT INCLUDE COMPASS WITH MONGODB INSTALL**: https://youtu.be/l8Ij6hVQsBk 40 | - In CMD, create a data directory: `>md \data\db` 41 | - Confirm the directory has been made with `>dir \data` 42 | - ALSO NOTE: After the install, the `mongo` and `mongod` commands should work in GitBash BUT there are issues with MinTTY allowing ctrl-c to kill the mongod process. See here: https://github.com/nodejs/node/issues/16103 You can use the `netstat` command to find out which process ID the mongo daemon is running on, and then from CMD or PowerShell use the `Taskkill` command to end the process: 43 | ``` 44 | >netstat -aon 45 | >Taskkill /PID {PID number} /F 46 | ``` 47 | 48 | - Add `C:\Program Files\MongoDB\Server\3.6\bin\` directory to PATH environmental variable for easy command line interaction: 49 | 1. Get the location of the executable: `C:\Program Files\C:\Program Files\MongoDB\Server\3.6\bin` 50 | 2. You can also get this from the executable file by right-clicking on the "mongo" and "mongod" files and selecting "Properties". 51 | 3. Run the command `SystemPropertiesAdvanced` in CMD 52 | 4. Click "Environment Variables" 53 | 5. Select the "Path" item (top half for the user variables) 54 | 6. Select "Edit" 55 | 7. Select "New" 56 | 8. Paste in the new environmental variable path: `C:\Program Files\MongoDB\Server\3.6\bin` 57 | 9. Select OK and exit the Advanced System Properties. Now you can run mongo and mongod in CMD and PowerShell. 58 | - Detailed installation guide: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-windows/ 59 | 11. Install [Compass](https://www.mongodb.com/download-center?jmp=nav#compass) separately 60 | - Select the latest verion of "Community Edition Stable" (currently 1.12.5). 61 | - Select "Windows 64-bit (7+)" 62 | - Download and install - it will install automatically. 63 | - https://docs.mongodb.com/compass/master/ 64 | 12. Install [Zoom](https://zoom.us/download). 65 | - You may also want the plugin for Outlook or the Extension for the Chrome browser (scroll down on the Downloads page). 66 | 13. If you haven't already, install [Slack](https://www.slack.com/downloads/windows) 67 | - You can disable Slack from automatically starting up through the Task Manager 68 | 69 | # other things? 70 | - Package manager? Use MSI (MicroSoft Installer). Only use package managers like [Chocolatey](https://chocolatey.org/) if you are already VERY comfortable with them. 71 | - `telnet` (afaik, not a part of win10 release) https://social.technet.microsoft.com/wiki/contents/articles/38433.windows-10-enabling-telnet-client.aspx see also: http://www.sysprobs.com/install-and-enable-telnet-in-windows-8-use-as-telnet-client 72 | - `curl` is asking for the IE engine? https://youtu.be/qlTVMuONazs. Seems to be part of GitBash. 73 | - [React Native SDK](https://developers.facebook.com/docs/react-native) 74 | - [Expo XDE](https://expo.io/tools#client) (React-Native) - LOOK FOR NOTE on how to get Expo to reload fast 75 | - [ngrok](https://ngrok.com/download) Also available through `npm install ngrok` & `brew install ngrok` 76 | - [Firefox](https://www.mozilla.org/en-US/firefox/new/) & [Opera](https://www.opera.com/)? Opera has "free" VPN :\ 77 | - [ScreenFlow](https://www.telestream.net/screenflow/overview.htm) 78 | - RoboMongo type app for mysql? (workbench?) 79 | 80 | # Speedy Win10 tricks 81 | - Cortana? 82 | - Maybe you love it. 83 | - If you don't, reclaim that task bar real estate and give your processor a break: https://www.pcworld.com/article/2949759/windows/killing-cortana-how-to-disable-windows-10s-info-hungry-digital-assistant.html 84 | - Digital color meter: https://graphicdesign.stackexchange.com/q/76383 85 | - the CMD equivalent for `which` is `where`. In Powershell, `where` is an alias for `Where-Object` but you can access the “where” command in PS with `where.exe` or you can use `get-command` in Powershell. 86 | - Powershell: use the `ii` command to open `i`nvoke `i`tem, e.g. `> ii .` will open the current directory in the Explorer. 87 | 88 | # Chrome magic 89 | - React Developer Tools plugin: https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en 90 | - Redux Developer Tools plugin: https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd?hl=en 91 | - One Tab plug-in to minimize open tabs into a list of URLs: https://www.one-tab.com/the CMD equivalent for `which` is `where` and in Powershell, `where` is an alias for `Where-Object` but you can access the “where” command in PS with `where.exe` or you can use `get-command` 92 | - HTTPS everywhere from EFF: https://www.eff.org/https-everywhere 93 | - Privacy Badger from EFF: https://www.eff.org/privacybadger 94 | - `ctrl + l` focuses to the Location Bar. 95 | - ctrl+option+ left right arrow to cycle through open tabs??? 96 | 97 | # Text Editor efficiency 98 | - Global project search: ctrl-shift-f VSC, cmd+shift+f Atom??? 99 | - Select matching pattern: cmd(macOS)/ctrl(Win)+D Atom/VSC??? 100 | 101 | # Integrating Git Bash into Atom & VSC IDE 102 | ### VSC 103 | - Setting up VSC to use Git Bash on Windows 104 | - https://code.visualstudio.com/docs/editor/integrated-terminal 105 | NOTE: maybe overkill to set it up with both? maybe worth documenting and hiding? 106 | 107 |
Expand if you want BOTH bash and PowerShell available in VSC

108 | 109 | - hacky workaround to have both bash and Powershell available in the VSC terminal selector: http://jeffa.tech/vscode-multiple-integrated-terminals/ 110 | 1. `ctrl + comma` will load your user settings in VSC 111 | 2. Modify your User Settings: 112 | ```js 113 | // Place your settings in this file to overwrite the default settings 114 | { 115 | // Git Bash 116 | "terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe", 117 | // PowerShell 118 | "terminal.integrated.shell.windows2": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" 119 | } 120 | ``` 121 | 122 | 3. ``ctrl + tilda/backtick (~/`)`` to open editor. It should say `1. bash` 123 | 4. add the `2` t the end of the bash key and remove it from the powershell key, like so: 124 | ```js 125 | // Place your settings in this file to overwrite the default settings 126 | { 127 | // Git Bash 128 | "terminal.integrated.shell.windows2": "C:\\Program Files\\Git\\bin\\bash.exe", 129 | // PowerShell 130 | "terminal.integrated.shell.windows": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" 131 | } 132 | ``` 133 | 134 | 5. now press the plus sign to create a new terminal. It should say `2. powershell` 135 | 6. now swap the `2` back to how it looked in step 2. 136 | 7. Now any new consoles you create will be bash, but you'll have a persistent option 1 & 2. 137 | 138 |

139 | 140 | ### Atom 141 | - Setting up Atom with an integrated console: https://atom.io/packages/platformio-ide-terminal (PowerShell is the default) 142 | 1. `ctrl + ,` for settings 143 | 2. select `+ Install` 144 | 3. 3. type in `platformio-ide-terminal` 145 | 4. Install the platformio-ide-terminal package! 146 | 5. ``ctrl + tilda/backtick (~/`)`` to launch a new terminal in Atom. 147 | 6. `alt + shift + t` to make a new console 148 | 7. `alt + shift + j/k` to cycle through them 149 | 150 | - Set the Shell Override to: `C:\Program Files\Git\usr\bin\bash.exe` for it to work. 151 | - if this doesn't work, in the Git Bash console, ascertain which bash.exe file you are using with this command: 152 | - `$ which bash` 153 | - and use the Windows syntax for the absolute path `which bash` displays, i.e. `C:\path to bash.exe`. 154 | --------------------------------------------------------------------------------