Setup Development Environment
#Assignment: Setting Up Your Developer Environment
#Objective: This assignment aims to familiarize you with the tools and configurations necessary to set up an efficient developer environment for software engineering projects. Completing this assignment will give you the skills required to set up a robust and productive workspace conducive to coding, debugging, version control, and collaboration.
#Tasks:
- Select Your Operating System (OS):
Choose an operating system that best suits your preferences and project requirements. Download and Install Windows 11. https://www.microsoft.com/software-download/windows11
Prerequisites
Verify that your PC meets the minimum system requirements for Windows 11.
Use the PC Health Check app to confirm compatibility.
Installation Steps
i. Upgrade via Windows Update (Recommended)
Go to Settings > Update & Security > Windows Update.
Click Check for updates.
If Windows 11 is available, you’ll see the option to download and install.
Follow the on-screen instructions to complete the upgrade.
ii. Windows 11 Installation Assistant
Visit the Windows 11 software download page and download the Installation Assistant.
Open the tool and follow the prompts to upgrade your system to Windows 11.
iii. Create Windows 11 Installation Media
On the Windows 11 software download page, select Create tool now.
Use the Media Creation Tool to create a bootable USB or DVD.
Restart your PC and boot from the USB/DVD.
Follow the setup instructions to perform a clean installation.
iv. Download Windows 11 Disk Image (ISO)
For advanced users, download the Windows 11 Disk Image (ISO) from the download page.
Use this to create a bootable USB or DVD, or for creating a virtual machine.
v. Clean Install
Boot your PC from the Windows 11 installation media.
Select your language, time, and keyboard preferences.
Choose Install Now.
Enter your product key if prompted.
Accept the license terms.
Choose Custom: Install Windows only (advanced) for a clean install.
Select the drive to install Windows and click Next.
vi. Complete the Installation
Follow the prompts to complete the installation.
Once installed, customize your settings and log in to your Microsoft account
- Install a Text Editor or Integrated Development Environment (IDE):
Select and install a text editor or IDE suitable for your programming languages and workflow. Download and Install Visual Studio Code. https://code.visualstudio.com/Download
Prerequisites
Ensure your system meets the minimum requirements for running VS Code.
Have an internet connection to download the installer.
Step-by-Step Installation
i. Download the Installer
Visit the official Visual Studio Code website to download the latest version of the VS Code installer for Windows.
ii. Run the Installer
Locate the downloaded file, typically named VSCodeUserSetup-{version}.exe.
Double-click the installer to start the installation process.
iii. Accept the License Agreement
Read through the license agreement.
Accept the terms to continue with the installation.
iv. Choose Installation Options
You may be prompted to select additional tasks such as adding a desktop icon or adding VS Code to the PATH environment variable. Make your selections as desired.
v. Install
Click the ‘Install’ button to begin the installation.
The installer will display a progress bar indicating the installation status.
vi. Finish Installation
Once the installation is complete, you can choose to launch VS Code immediately by checking the corresponding box.
Click ‘Finish’ to close the installer.
vii. Launch
If you chose to launch VS Code after installation, it should open automatically.
Otherwise, you can find VS Code in your Start Menu or search for it using the search bar.
- Set Up Version Control System:
Install Git and configure it on your local machine. Create a GitHub account for hosting your repositories. Initialize a Git repository for your project and make your first commit.
https://github.com
Prerequisites
A computer running Windows OS.
Administrative access to the system.
An internet connection to download the installer.
Installation Steps
i. Download the Installer
Navigate to the Git website and download the latest version of Git for Windows.
ii. Run the Installer
Locate the downloaded file, which will typically be named Git-{version}-64-bit.exe.
Double-click the file to initiate the installation process.
iii. License Agreement
Upon launching the installer, you’ll be presented with the GNU General Public License.
Review the license, then click ‘Next’ to agree and proceed.
iv. Select Components
Choose the components you wish to install. The default selection is usually sufficient for most users.
Click ‘Next’ to continue.
v. Choose Installation Location
Select the directory where you want Git to be installed or accept the default location.
Click ‘Next’ to proceed.
vi. Start Menu Folder
Choose the name for the folder in the Start Menu or accept the default.
Click ‘Next’ to move forward.
vii. Adjusting Your PATH Environment
Decide if you want Git to be available from the command line and also choose the terminal you want to use for Git commands.
It’s recommended for beginners to select ‘Use Git from the Windows Command Prompt’.
Click ‘Next’ to continue.
viii. Configuring the Line Ending Conversions
Configure how Git handles line endings in text files. The recommended setting is ‘Checkout Windows-style, commit Unix-style line endings’.
Click ‘Next’ to proceed.
ix. Configuring the Terminal Emulator
Select the terminal emulator you wish to use for Git Bash. The default option is usually fine for most users.
Click ‘Next’ to continue.
x. Configuring Extra Options
Configure any additional options such as file caching or credential storage.
Click ‘Next’ after making your selections.
xi. Install
Review your settings, then click ‘Install’ to begin the installation process.
The installer will show a progress bar and may take a few minutes to complete.
xii. Completing the Git Setup
Once the installation is complete, click ‘Finish’.
You may choose to launch Git Bash after closing the installer.
-
Install Necessary Programming Languages and Runtimes:
Instal Python from http://wwww.python.org programming language required for your project and install their respective compilers, interpreters, or runtimes. Ensure you have the necessary tools to build and execute your code. -
Install Package Managers:
If applicable, install package managers like pip (Python).
Prerequisites
A Windows operating system.
Administrative privileges on your computer.
An internet connection to download the necessary files.
Installation Steps
i. Download Python
Visit the official Python website to download the latest version of Python for Windows.
Click on the ‘Downloads’ tab and select the Windows installer for the version you need.
ii. Run the Installer
Locate the downloaded .exe file and double-click it to start the installation process.
Ensure you check the box that says “Add Python 3.x to PATH” before clicking ‘Install Now’.
iii. Verify Python Installation
After the installation is complete, open the Command Prompt and type python --version.
You should see the Python version number if the installation was successful.
iv. Verify pip Installation
pip is included by default when you install Python from Python 3.4 onwards.
In the Command Prompt, type pip --version to check if pip was installed.
v. Upgrade pip (Optional)
To upgrade pip to the latest version, run python -m pip install --upgrade pip in the Command Prompt.
vi. Using pip to Install Packages
You can now use pip to install packages by typing pip install package-name where package-name is the name of the Python package you wish to install
- Configure a Database (MySQL):
Download and install MySQL database. https://dev.mysql.com/downloads/windows/installer/5.7.html
Prerequisites
A Windows-based computer with internet access.
Administrative rights on the computer.
Installation Steps
i. Download the MySQL Installer
Go to the MySQL Downloads page and download the MySQL installer for Windows.
ii. Run the Installer
Locate the downloaded .msi file and double-click it to launch the setup wizard.
iii. License Agreement
Read the End-User License Agreement (EULA).
Accept the terms and click ‘Next’ to proceed.
iv. Choosing a Setup Type
Select the setup type that best suits your needs. Options include:
Full: Installs all MySQL products and features.
Custom: Allows you to select which products and features to install.
Server Only: Installs only the MySQL Server.
v. Select Products and Features
If you chose the Custom setup type, select the products and features you wish to install.
Click ‘Next’ to continue.
vi. Check Requirements
The installer will check if your system meets the requirements for the selected products.
Install any missing requirements as prompted.
vii. Installation
Click ‘Execute’ to install the selected products and features.
The installer will display a progress bar and status messages during the installation.
viii. Product Configuration
After installation, the wizard will guide you through the configuration of the MySQL Server.
Set up the root password, user accounts, and default settings as needed.
ix. Apply Configuration
Once you’ve configured the server settings, click ‘Execute’ to apply the configuration.
The installer will initialize the database and start the MySQL Server.
x. Complete the Setup
After the configuration is applied, click ‘Finish’ to complete the setup process.
xi. Launch MySQL Workbench
-
Set Up Development Environments and Virtualization (Optional): Consider using virtualization tools like Docker or virtual machines to isolate project dependencies and ensure consistent environments across different machines.
-
Explore Extensions and Plugins: Explore available extensions, plugins, and add-ons for your chosen text editor or IDE to enhance functionality, such as syntax highlighting, linting, code formatting, and version control integration.
-
Document Your Setup: Create a comprehensive document outlining the steps you've taken to set up your developer environment. Include any configurations, customizations, or troubleshooting steps encountered during the process.
#Deliverables:
- Document detailing the setup process with step-by-step instructions and screenshots where necessary.
- A GitHub repository containing a sample project initialized with Git and any necessary configuration files (e.g., .gitignore).
- A reflection on the challenges faced during setup and strategies employed to overcome them.
#Submission: Submit your document and GitHub repository link through the designated platform or email to the instructor by the specified deadline.
#Evaluation Criteria:**
- Completeness and accuracy of setup documentation.
- Effectiveness of version control implementation.
- Appropriateness of tools selected for the project requirements.
- Clarity of reflection on challenges and solutions encountered.
- Adherence to submission guidelines and deadlines.
Note: Feel free to reach out for clarification or assistance with any aspect of the assignment.