CS312 Software

From Computer Science
Revision as of 12:55, 17 February 2020 by Robert Lichenstein (talk | contribs) (→‎Software Installation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Meant to be used in conjunction with this CS312Software guide

Software Installation

NVM

  • Follow this Windows Setup Guide and correlate with the above guide.
  • IF nvm install latest/erbium gives an error about only 32 bit installs, go directly to the release page from

node js here and install latest version like so nvm install 12.16.0

IF NVM IS NOT WORKING ON CS DEPT LAPTOPS: Make sure to manually add C:\nvm to the Path variable for the system. See path-editing below.

SQLITE3

  • Taken mostly from this guide, if there is any confusion, follow the link.
  • Go to the sqlite3 page here and download the precompiled binaries (64 bit) and the Command Line tools (should be a 32 bit zip folder for some reason).
  • Place both into C:/Sqlite3 then add that address to System PATH & you should be able to run sqlite3 from command line. (see PATH editing instructions below)
  • See sqlite.org's instructions for getting started with windows.

MongoDB

  • Follow these instructions from the MongoDB website.


Git

  • Should be installed, to update just run git update-git-for-windows

If not installed already:

Heroku CLI

  • Install these from the Heroku installer, very straightforward, linked here.

PATH editing

Editing the PATH environment variable basically adjusts what commands you have access to from the Powershell command line (without navigating to their directory).

To edit the PATH:

  • Press the Windows button
  • Type in "Edit the system environment variables", you should see the exact option come up. Click Enter.
  • Once the Control Panel window opens, click Environment Variables.
  • The upper half of the screen changes variables ONLY for the current user. The lower half of the screen changes variables for ALL users on the computer. Typically this requires admin privileges. Pick the appropriate one for your situation and proceed.
  • NOTE:Messing up your PATH can cause huge issues so continue with care and make sure not to delete/overwrite anything in the current Path.
  • Under the column "Variable" scroll until you see the one labelled "Path." Double-click it. A new prompt should open.
  • To add to this, click the New button. An editing window should appear on the left. Simply paste the address of the containing folder of the command you would like to use.
  • For example: I have installed a folder at 'C:\Sqlite3' and it contains the .exe file 'sqlite3'. To have access to this, all I do is paste the address 'C:\Sqlite3' into the new editing box.
  • Hit 'OK' on the window you are currently in, then 'OK' on the next window. Exit the control panel, and restart any running sessions of Powershell. You should have access to those commands.