Difference between revisions of "Initial Setup"

From CSE231 Wiki
Jump to navigation Jump to search
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
Ensure everything runs smoothly to avoid issues throughout the semester. Initial setup should be done during the <b>first week of the semester</b>.
 
Ensure everything runs smoothly to avoid issues throughout the semester. Initial setup should be done during the <b>first week of the semester</b>.
 
=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
 
  
 
=Bitbucket=
 
=Bitbucket=
Line 11: Line 6:
  
 
===Set Up Access===
 
===Set Up Access===
Choose one of the two approaches below:
+
Try this approach:
 +
*SSH Key: [https://support.atlassian.com/bitbucket-cloud/docs/set-up-an-ssh-key/ set up an ssh key for bitbucket]
 +
 
 +
If that fails, then try this:
 
*App Password: [https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/ set up an app password for bitbucket]
 
*App Password: [https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/ set up an app password for bitbucket]
*SSH Key: [https://support.atlassian.com/bitbucket-cloud/docs/set-up-an-ssh-key/ set up an ssh key for bitbucket]
 
  
===Clone Repo===
+
=Java=
<youtube>4KaKieHuD_E</youtube>
+
*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.]]
 +
 
 +
* Download [https://www.jetbrains.com/idea/download/ IntelliJ IDEA '''Ultimate''']
 +
* Install IntelliJ IDEA '''Ultimate'''
 +
 
 +
=Clone Repo=
 +
<youtube>Z0koC3eIMrA</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.
+
=AspectJ=
 +
<youtube>l37QJlTsal8</youtube>
  
=Piazza=
+
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).
Sign up for [https://piazza.com/ Piazza]. Then [http://piazza.com/wustl/spring2022/cse231 join 231 on Piazza].
 
  
=Java=
+
=Testing=
*Download [https://www.oracle.com/java/technologies/downloads/ JDK19] (or greater)
+
{{TestSuite|_SetupTestSuite|setup}}
*Install JDK19 (or greater)
 
  
=IDE=
+
=Troubleshooting=
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.
+
Reloading the Maven Project and Rebuilding the Project often fix setup issues.
  
===Eclipse===
+
[[File:Project Maven ReloadProject.png|600px]]
*Download Up To Date Version (2022‑06 or greater) of [https://eclipse.org/downloads/ Eclipse].
 
*Install Eclipse (Select '''Eclipse IDE for Java Developers''').
 
*Test Eclipse
 
  
===IntelliJ IDEA===
+
[[File:Build RebuildProject.png|400px]]
[https://www.jetbrains.com/idea/download/ IntelliJ IDEA]
 
  
===VS Code===
+
=Piazza=
[https://code.visualstudio.com/docs/languages/java Java in Visual Studio Code]
+
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 this form] so we know how your setup process went.
+
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