Difference between revisions of "Setup"

From CSE425S Wiki
Jump to navigation Jump to search
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
<!--
 
{{:Coursera Setup}}
 
{{:Coursera Setup}}
 +
-->
 +
 +
=Bitbucket=
 +
==accept invite==
 +
The first minute of [[https://wustl.app.box.com/s/34nidhbvvnm60lujl9qzug3x45e8ckb8 this video]] (from CSE 131) shows off how to accept a bitbucket invitation sent to your email.
 +
 +
==access==
 +
<!--
 +
choose one of the following paths
 +
===set up app password===
 +
[https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/ set up an app password for bitbucket]
 +
-->
 +
===set up ssh key===
 +
If you already have an ssh key, add your public key to bitbucket.
  
 +
Otherwise, create a new key and add the public key to bitbucket.
 +
 +
[https://support.atlassian.com/bitbucket-cloud/docs/set-up-an-ssh-key/ set up an ssh key for bitbucket]
 +
 +
=Java=
 +
==Language==
 +
* Download [https://www.oracle.com/java/technologies/downloads/ JDK] (17 or greater)
 +
* Install JDK (17 or greater)
 +
 +
==IDE==
 +
===IntelliJ===
 +
* [https://www.jetbrains.com/idea/download/ Download and Install IntelliJ IDEA Community or Ultimate]
 +
 +
===clone repo===
 +
<!--
 +
<youtube>4KaKieHuD_E</youtube>
 +
 +
Note: in this video I imported into an empty workspace.  If you already have projects in your workspace, you can find Import... from the File Menu in Eclipse.
 +
-->
 
=ML=
 
=ML=
 
==Language: Standard ML of New Jersey==
 
==Language: Standard ML of New Jersey==
Line 10: Line 44:
 
[https://islovely.co/posts/painless-installation-of-sml-on-os-x/ via homebrew]
 
[https://islovely.co/posts/painless-installation-of-sml-on-os-x/ via homebrew]
 
-->
 
-->
 +
 +
====v15 Sequoia====
 +
[https://piazza.com/class/m070pkvkjx77ng/post/46 Fall 2024 Fix]
  
 
===Windows===
 
===Windows===
−
''Fall 2022 Note:'' There seems to be an issue with v110.99.3.   
+
''Summer 2023 Note:'' There seems to be an issue with v110.99.3.   
  
−
[[http://smlnj.cs.uchicago.edu/dist/working/110.99.2/smlnj-110.99.2.msi Download and install v110.99.2]].
+
[[http://smlnj.cs.uchicago.edu/dist/working/110.99.2/index.html Download and install v110.99.2]].
  
 
If you run into trouble, getting as close to Linux as you can is a good idea.   
 
If you run into trouble, getting as close to Linux as you can is a good idea.   
  
 +
If replacing Windows with Linux is out of the question, [https://gist.github.com/tedz2usa/725307535cb4c336941d13e2e5cf86eb installing the Windows Subsystem for Linux] can often be close enough:
 
<!-- [http://www.smlnj.org/dist/working/index.html download msi installation] -->
 
<!-- [http://www.smlnj.org/dist/working/index.html download msi installation] -->
−
 
−
===Windows Subsystem for Linux===
 
−
[https://gist.github.com/tedz2usa/725307535cb4c336941d13e2e5cf86eb instructions]
 
  
 
===Linux===
 
===Linux===
Line 27: Line 62:
  
 
==Editor==
 
==Editor==
 +
'''Alert:''' Emacs is '''NOT''' required or encouraged for this course.
 
===VS Code (Preferred)===
 
===VS Code (Preferred)===
 
* [https://code.visualstudio.com/download Download and Install VS Code]
 
* [https://code.visualstudio.com/download Download and Install VS Code]
Line 38: Line 74:
  
 
[[File:OpenFolder.png|600px]]
 
[[File:OpenFolder.png|600px]]
−
 
+
<!--
 
===or Sublime Text (Alternate)===
 
===or Sublime Text (Alternate)===
 
* [https://www.sublimetext.com/3 Download and Install Sublime Text]
 
* [https://www.sublimetext.com/3 Download and Install Sublime Text]
 +
-->
  
 
=Racket=
 
=Racket=
Line 48: Line 85:
 
=Ruby=
 
=Ruby=
 
{{:Ruby_Setup}}
 
{{:Ruby_Setup}}
−
 
−
=Java=
 
−
==Language==
 
−
* Download [https://www.oracle.com/java/technologies/downloads/ JDK] (18 or greater)
 
−
* Install JDK  (18 or greater)
 
−
 
−
==IDE==
 
−
===Eclipse===
 
−
* Download Up To Date Version (2022‑06) of [https://eclipse.org/downloads/ Eclipse]
 
−
* Install Eclipse (Select '''Eclipse IDE for Java Developers''')
 
−
 
−
===or IntelliJ===
 
−
* [https://www.jetbrains.com/idea/download/ Download and Install IntelliJ IDEA Community]
 
−
 
−
=Bitbucket=
 
−
==accept invite==
 
−
The first minute of [[https://wustl.app.box.com/s/34nidhbvvnm60lujl9qzug3x45e8ckb8 this video]] (from CSE 131) shows off how to accept a bitbucket invitation sent to your email.
 
−
 
−
==access==
 
−
choose one of the following paths
 
−
===set up app password===
 
−
[https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/ set up an app password for bitbucket]
 
−
===set up ssh key===
 
−
[https://support.atlassian.com/bitbucket-cloud/docs/set-up-an-ssh-key/ set up an ssh key for bitbucket]
 
−
 
−
==clone repo==
 
−
<youtube>4KaKieHuD_E</youtube>
 
−
 
−
Note: in this video I imported into an empty workspace.  If you already have projects in your workspace, you can find Import... from the File Menu in Eclipse.
 

Latest revision as of 12:32, 28 August 2025


Bitbucket

accept invite

The first minute of [this video] (from CSE 131) shows off how to accept a bitbucket invitation sent to your email.

access

set up ssh key

If you already have an ssh key, add your public key to bitbucket.

Otherwise, create a new key and add the public key to bitbucket.

set up an ssh key for bitbucket

Java

Language

  • Download JDK (17 or greater)
  • Install JDK (17 or greater)

IDE

IntelliJ

clone repo

ML

Language: Standard ML of New Jersey

Mac OSX

NOTE: recently, macOS 10.15 Catalina switched the default shell from bash to zsh. As a result, you may need to edit .zshenv instead of .bash_profile. You can alternatively switch your default shell in VS Code to bash.

via homebrew

v15 Sequoia

Fall 2024 Fix

Windows

Summer 2023 Note: There seems to be an issue with v110.99.3.

[Download and install v110.99.2].

If you run into trouble, getting as close to Linux as you can is a good idea.

If replacing Windows with Linux is out of the question, installing the Windows Subsystem for Linux can often be close enough:

Linux

via apt-get or yum

Editor

Alert: Emacs is NOT required or encouraged for this course.

VS Code (Preferred)

Extensions.png

SearchStandardML.png

InstallStandardML.png

OpenFolder.png

Racket

Language and IDE

Ruby

Language

Mac OSX

Note: depending on how the permissions are set up on your machine you may need to prefix a command with sudo or perhaps you may have to omit sudo.

Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" 

Install Ruby

brew install ruby

Add Ruby To Path

if Mac OSX 10.15 Catalina or greater

   ~/.zshrc

else

   ~/.bash_profile

Add this line:

export PATH="/usr/local/opt/ruby/bin:$PATH"

check ruby

You can either

1) restart your terminal

or

2) source the appropriate configuration file based on your shell (which is often dependent on the OSX version)

source .zshrc

or

source .bash_profile

Then run

ruby --version

Windows

Ruby

Download and Install https://rubyinstaller.org/downloads/

Linux

Ruby Language

Fedora

install ruby

Ubuntu
sudo apt-get install ruby-full

Gems

gem install bundler
bundler install

IDE