Giter Club home page Giter Club 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 adedolapo-ismail avatar alicendeh avatar alphamaxrdj avatar berryboylb avatar bisola248 avatar blazingkevin avatar brianokanga avatar bvadegboye avatar dawillzy avatar debukola avatar elizabethadegbaju avatar godchosen avatar harrywonder avatar hdjerry avatar hemmycoded avatar horlamiedea avatar kelsman avatar melody124 avatar mudamoon97 avatar ojayedwards avatar oladolapo avatar opejinabdulahi avatar pablo364 avatar rexthecoder avatar robertechie avatar samade4love avatar sydunix avatar timothymayor avatar toliimaa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

hngi7_titans_task2's Issues

Update On Team Task

A recent update was made as regards our team task.

• In the status option, we are to change "failed" to "fail" and "passed" to "pass".

• Also remove all white spaces in the output when displayed on json format

Wrong commit location

  1. An additional folder exists via the repo.
  2. A wrong commit was made outside the script folder.

Language support

Write the PHP script to support other languages.
Don't limit to js and py alone.

New script folder added

A new script folder other than the main script folder has been merged, check it out and remove asap.

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.