Difference between revisions of "Initial Setup"

From CSE231 Wiki
Jump to navigation Jump to search
 
(18 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:
*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]
 
*SSH Key: [https://support.atlassian.com/bitbucket-cloud/docs/set-up-an-ssh-key/ set up an ssh key for bitbucket]
  
===Clone Repo===
+
If that fails, then try this:
<youtube>4KaKieHuD_E</youtube>
+
*App Password: [https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/ set up an app password for bitbucket]
  
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.
+
=Java=
 +
*Download [https://www.oracle.com/java/technologies/downloads/ JDK17] (or greater)
 +
*Install JDK17 (or greater)
  
=Piazza=
+
=JetBrains Student Account=
Sign up for [https://piazza.com/ Piazza]. Then [http://piazza.com/wustl/spring2022/cse231 join 231 on Piazza].
+
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.
  
=Java=
+
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.oracle.com/java/technologies/downloads/ JDK19] (or greater)
 
*Install JDK19 (or greater)
 
  
==IntelliJ IDEA Ultimate=
+
* Download [https://www.jetbrains.com/idea/download/ IntelliJ IDEA '''Ultimate''']
[https://www.jetbrains.com/idea/download/ IntelliJ IDEA]
+
* Install IntelliJ IDEA '''Ultimate'''
  
===Clone Repo===
+
=Clone Repo=
 
<youtube>Z0koC3eIMrA</youtube>
 
<youtube>Z0koC3eIMrA</youtube>
  
===AspectJ===
+
=AspectJ=
 +
<youtube>l37QJlTsal8</youtube>
  
<youtube>l37QJlTsal8</youtube>
+
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=
 +
{{TestSuite|_SetupTestSuite|setup}}
 +
 
 +
=Troubleshooting=
 +
Reloading the Maven Project and Rebuilding the Project often fix setup issues.
 +
 
 +
[[File:Project Maven ReloadProject.png|600px]]
 +
 
 +
[[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 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 JDK16 must be installed before Eclipse can be installed.
+
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

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