Skip to content

Latest commit

 

History

History
131 lines (92 loc) · 5.6 KB

prerequisites.md

File metadata and controls

131 lines (92 loc) · 5.6 KB

Prerequisites

For all the beginners that are starting on the portal, this is for you to get started.

1. Git 🐱

Git should come pre-installed in Linux and macOS. For Windows, use this link After you've successfully installed, you can verify the installation using:

git --version
# git version 2.33.0.windows.2

2. PHP, MySQL, Apache:running:

Portal uses PHP v7.4. You can install it using one of the following ways:

  1. XAMPP (Windows and Linux)

    • If you prefer using XAMPP, you can download the full stack with right PHP version from this link
    • If you already have XAMPP installed for Windows, refer this link for switching to the correct PHP version.
    • If you already have XAMPP installed for Ubuntu, refer this linkfor switching to the correct PHP version.
  2. WAMP (Windows)

    • If you prefer using WAMP Windows(64-bit and 32-bit), you can download from this link. A possible error that may arise with openSSL extension. It should be enabled from your 'php.ini' file. To enable it, use the following steps:
    • Edit the system environment variables and set the path of your selected PHP version.
    • In 'php.ini', uncomment the ";extension=openSSL" by removing ";" before it.
    • The WAMP users have to right click on the server icon in the toolbar, and choose ‘Restart all services’ after making changes to the 'php.ini' file.
    • Run this command in the root directory of your project:
      composer update
    • If the user is working in VSCode, possible errors may arise because of path, as may not be able to access the selected PHP version from its terminal.
  3. MAMP (macOS)

    • If you prefer using MAMP, you can download with all the PHP version from this linkthis link for Windows and MacOS. -To use the MAMP php as main php, referthis link for switching into the MAMP php.
  4. After you've successfully installed, you can verify the installation using:

php -v
# output should be something like
# PHP 7.4.21 (cli) (built: Aug  5 2021 15:34:00) ( NTS )

3. Composer 🏃

For MacOS:

For Windows:

For Linux:

After you've successfully installed, you can verify the installation using:

composer --version
# output should be something like
# Composer version 2.1.6 2021-08-19 17:11:08

4. Nodejs 🏃

For (Windows, Ubuntu, macOS)

npm -v
# output should be something like
# 6.14.15

node -v
#output should be somthing like
#v14.17.6

5. Code Formatter 🦋

Install the following extensions and packages based on the code editor you use:

Learning 📖

There are some topics and tools you need to know to prior to work in portal so please make sure to check this out.

1. Version Control System 💻

Version control, also known as source control, is the practice of tracking and managing changes to software code.

More about version control system

2. Git 🐱

3. Git and GitHub 🏃

4. Laravel Modules 🦋

This project uses Laravel Modules, so a basic understanding of the commands is recommended:

8. Automated Testing 💻

This project uses Cypress for automated testing, so a basic understanding of the writing test cases is recommended: