Coder Social home page Coder Social logo

hngi7_titans_task2's Introduction

HNGi-7 || Team-Titans || Task 2

Task 2 || Contents

How To Fork A Repositrory
How To Build Your Script
How To Test Your Script
How To Commit Your Changes

Task 2 || How To Fork A Repositrory

  • First, open the github repository
  • At the Top-Right corner of the screen(same line with the repository name), Click on Fork. This will take you toyour github account and create a copy of the repository in your github account.
  • On your account, Click on clone or download to get a link like this https://github.com//HNGi7_Titans_Task2.git
  • Open the htdocs folder in the xampp in the root directory.
    (click here to download xampp and follow this step after.)
  • If you are using lamp navigate to /var/www/html/ in the root directory.
    (click here for the installation process or find a suitable procedure for your linux distro and follow this step after.)
  • Create a folder with HNG in the htdocs or /var/www/html/ and open the gitbash Terminal here OR open this HNG folder in VSCode.
    (click here to download git and follow this step after.)
  • On your terminal and run this command in your terminal
    git clone ( the_copied_link_from_your_github_account like this:: https://github.com//HNGi7_Titans_Task2.git )
    Note: Ensure the Terminal opened in the HNG folder.
  • Kindly, watch any of these YouTube Videos below for further understanding
  • Learning with HNG
  • Data School
  • Note: Whatever you do, do not tamper with the index.php file

Task 2 || How To Build Your Script

For Python Developers

  • After cloning the repository
  • Create a new file in the scripts folder with your Slack username, like this tmajor.py
  • Simply move your script to the Script folder and make sure you have Python3 installed.
  • Save the updated file and test it.
  • Note: Whatever you do, do not tamper with the index.php file


For Javascript Developers

  • After cloning the repository
  • Create a new file in the scripts folder with your Slack username, like this tmajor.js
  • Simply move your script to the Script folder and make sure you have Node Js installed.
  • Save the updated file and test it.
  • Note: Whatever you do, do not tamper with the index.php file


For PHP Developers

  • After cloning the repository
  • Create a new file in the scripts folder with your Slack username, like this tmajor.php
  • Simply move your script to the Script folder.
  • Save the updated file and test it.
  • Note: Whatever you do, DO NOT tamper with the index.php file


Task 2 || How To Test Your Script

  • After building the script.
  • Open Xampp on your computer, and start Apache.
  • On linux check if apache is running with sudo service apache2 status if not start apache.
  • Simply copy and paste this on the browser http://localhost/HNG/HNGi7_Titans_Task2/
  • Scan through the output to confirm your script passed
  • Append index.php?json to the above url if you do not see a detailed results page.
  • Commit and push the changes if the script passed the test.
  • Note: Whatever you do, do not tamper with the index.php file

Task 2 || How To Commit Your Changes

  • After testing the script.
  • Open the on the repository folder(This should look like this @DESKTOP-P7FH7QG MINGW64 /c/xampp/htdocs/HNG/HNGi7_Titans_Task2 (master)$ || root@user:/var/www/html/HNG/HNGi7_Titans_Task2$ on linux)
  • Kindly, watch any of these YouTube Videos below
  • Learning with HNG
  • Free Code Camp
  • Always confirm your commits on the github repository in your github account.
  • Note: Whatever you do, do not tamper with the index.php file

Inform the Team Leads of your commits and wait...

hngi7_titans_task2's People

Contributors

01dotun avatar adamxilias avatar adegokebestman avatar afaraitsulaimon avatar blazingkevin avatar bvadegboye avatar e-miracle avatar elizabethadegbaju avatar emydame avatar godchosen avatar harrywonder avatar hck3r1 avatar hdjerry avatar kodecheff avatar ladonaamor avatar mancharlie47 avatar matmaxgraphics avatar ochuba avatar omi-ekiallen avatar opejinabdulahi avatar pablo364 avatar rapixar avatar robertechie avatar samade4love avatar simidawalang avatar t-bello7 avatar tenotea avatar therealbosun avatar timothymayor avatar x3meuriel avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.