Difference between revisions of "Initial Setup"

From CSE231 Wiki
Jump to navigation Jump to search
 
(29 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=Prep=
+
Ensure everything runs smoothly to avoid issues throughout the semester. Initial setup should be done during the <b>first week of the semester</b>.
Watch video
 
  
Fill out Synthesis & Question Form
+
=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.
  
=Piazza=
+
===Set Up Access===
Sign up for [https://piazza.com/ piazza]
+
Try this approach:
 +
*SSH Key: [https://support.atlassian.com/bitbucket-cloud/docs/set-up-an-ssh-key/ set up an ssh key for bitbucket]
  
[http://piazza.com/wustl/spring2022/cse231 Join 231 on piazza]
+
If that fails, then try this:
 +
*App Password: [https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/ set up an app password for bitbucket]
  
 
=Java=
 
=Java=
Download [https://www.oracle.com/technetwork/java/javase/downloads/jdk13-downloads-5672538.html JDK16] (or greater)
+
*Download [https://www.oracle.com/java/technologies/downloads/ JDK17] (or greater)
 +
*Install JDK17 (or greater)
 +
 
 +
=JetBrains Student Account=
 +
Sign up for a [https://www.jetbrains.com/community/education/#students JetBrains Student Account]
 +
=IntelliJ IDEA Ultimate=
 +
Note: it is critical that you download and install the '''Ultimate''' version.  The Community Edition is '''NOT''' sufficient.
 +
 
 +
Do '''NOT''' pay for IntelliJ.  Your WashU email address should enable you to get it for free.  [[#JetBrains_Student_Account|See above step.]]
  
Install JDK16 (or greater)
+
* Download [https://www.jetbrains.com/idea/download/ IntelliJ IDEA '''Ultimate''']
 +
* Install IntelliJ IDEA '''Ultimate'''
  
=IDE=
+
=Clone Repo=
Download and install one of: Eclipse, IntelliJ IDEA, or VS Code.  Eclipse is the most well traveled path in CSE 231s.  However, students have had success with IntelliJ and VS Code in the past.
+
<youtube>Z0koC3eIMrA</youtube>
==Eclipse==
 
Download Up To Date Version (2021‑09 or greater) of [https://eclipse.org/downloads/ Eclipse]
 
  
Install Eclipse (Select '''Eclipse IDE for Java Developers''')
+
=AspectJ=
 +
<youtube>l37QJlTsal8</youtube>
  
[[File:EclipseIDEForJavaDevelopers.png]]
+
Note for Macs: to find the .m2 folder, press Command (⌘) + Shift + Period (.) at the same time while in your user folder (can be found in /Users).
  
Test Eclipse
+
=Testing=
 +
{{TestSuite|_SetupTestSuite|setup}}
  
==IntelliJ IDEA==
+
=Troubleshooting=
[[https://www.jetbrains.com/idea/download/ IntelliJ IDEA]]
+
Reloading the Maven Project and Rebuilding the Project often fix setup issues.
  
==VS Code==
+
[[File:Project Maven ReloadProject.png|600px]]
[[https://code.visualstudio.com/docs/languages/java Java in Visual Studio Code]]
+
 
 +
[[File:Build RebuildProject.png|400px]]
 +
 
 +
=Piazza=
 +
Sign up for [https://piazza.com/ Piazza]. Then [https://piazza.com/wustl/spring2023/cse231s join 231 on Piazza].
  
 
=Results=
 
=Results=
Submit results to [https://docs.google.com/forms/d/e/1FAIpQLSe2SZVbl4HZPBcRLokL3Rh73t3AtqzzbWswFJYyAy53CgQRoA/viewform?usp=sf_link Form]
+
Submit results to [https://docs.google.com/forms/d/e/1FAIpQLSfj27CUl8AYe9FBLpcHBJGsWrEEhPJjOHs_xHRjO5j-1J9Yaw/viewform?usp=sf_link this form] so we know how your setup process went.
  
 
=Bonus=
 
=Bonus=
Write pseudocode for this process to parallelize these tasks with async and finish where possible.   
+
Write pseudocode for this process to parallelize these tasks with fork and join where possible.   
 +
 
 +
To make it interesting... assume the latest version of the JDK must be installed before IntelliJ Ultimate can be installed.
  
To make it interesting... assume JDK16 must be installed before Eclipse can be installed.
+
=S&Q Prep=
 +
Needs to be done before each class session to best prepare for the lecture and exercises:
 +
*Watch video(s) and/or Read reading(s)
 +
*Fill out S&Q (Synthesis & Question) Form

Latest revision as of 18:23, 19 January 2024

Ensure everything runs smoothly to avoid issues throughout the semester. Initial setup should be done during the first week of the semester.

Bitbucket

Accept Invite

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

Set Up Access

Try this approach:

If that fails, then try this:

Java

  • Download JDK17 (or greater)
  • Install JDK17 (or greater)

JetBrains Student Account

Sign up for a JetBrains Student Account

IntelliJ IDEA Ultimate

Note: it is critical that you download and install the Ultimate version. The Community Edition is NOT sufficient.

Do NOT pay for IntelliJ. Your WashU email address should enable you to get it for free. See above step.

Clone Repo

AspectJ

Note for Macs: to find the .m2 folder, press Command (⌘) + Shift + Period (.) at the same time while in your user folder (can be found in /Users).

Testing

class: _SetupTestSuite.java Junit.png
package: setup
source folder: testing/src/test/java

Troubleshooting

Reloading the Maven Project and Rebuilding the Project often fix setup issues.

Project Maven ReloadProject.png

Build RebuildProject.png

Piazza

Sign up for Piazza. Then join 231 on Piazza.

Results

Submit results to this form so we know how your setup process went.

Bonus

Write pseudocode for this process to parallelize these tasks with fork and join where possible.

To make it interesting... assume the latest version of the JDK must be installed before IntelliJ Ultimate can be installed.

S&Q Prep

Needs to be done before each class session to best prepare for the lecture and exercises:

  • Watch video(s) and/or Read reading(s)
  • Fill out S&Q (Synthesis & Question) Form