- Make sure you are on a personal computer
- Fork this repository by clicking on the fork button
- Clone your forked repository
- Checkout (I.e Change your branch) to submissions branch using
git checkout -b submissions
- Refresh then go to the scripts directory and:
- create a new file in a server-side scripting language of your choice (i.e. PHP, Python or Javasript) a statement to return
Hello World, this is [full name] with HNGi7 ID [ID] using [language] for stage 2 task. [email]
- with naming format “yourhngid.language” e.g hng0001.php, hng001.py, hng001.js
- create a new file in a server-side scripting language of your choice (i.e. PHP, Python or Javasript) a statement to return
- Replace:
- [full name] with your actual fullname,
- [id] with your actual HNG-ID found on your HNGBoard and
- [language] with the programming language you used.
- [email] with your email.
- Add your commit message to the bottom (short description of what you did)
- Then create a pull request and type the title of the merge and a description of what you did. Make sure to change the branch to 'submission'.
N.B In event you notice a merge conflict when making your pull request, pull from the original repository by setting it as an upstream
- Command to set upstream:
git remote add upstream https://github.com/anubabajide/HNG-Task-2-Team-Falcon
- Command to pull from upstream:
git pull upstream submissions
-
Clone the Repository
-
Install the following dependencies -Python (3.6.10) -Php (7.4.6) -apache (2.4.43) -nginx (1.18.0) -Node.js (14.4.0) -Ruby (2.5.1) -JDK (1.8) -Maven (3.6.2)
-Run the PHP file using the dependencies installed
-index.php - Results are displayed in tabular format
-index.php?json - Results are presented in json format