Giter Site home page Giter Site logo

chijiokeorabueze / dufuna-codecamp-21 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dufuna-codecamp/dufuna-codecamp-21

0.0 0.0 0.0 110.52 MB

This is the repository for Dufuna-CodeCamp 2021 cohort. All submissions related to tasks per scholar can be found in this repository.

JavaScript 9.17% Shell 4.83% Batchfile 0.32% HTML 50.83% CSS 34.37% PHP 0.46% SCSS 0.02%

dufuna-codecamp-21's Introduction

Welcome to the Dufuna-CodeCamp Programme ๐Ÿšฉ

This repository exists for the submission of tasks by the Dufuna-CodeCamp participants from the year 2021.

Getting Started

  • Clone this repository.

  • Before you start work on any task, you should do the following:

    • create a new branch
    • move to the newly created branch
  • On your local copy, you'll find a submissions directory.

    • create a new folder in that directory
    • name the folder using the format detailed below:
      • suppose your first name is Jane and your last name is Doe, your folder will be named janeDoe.
  • In the folder you created that is named after you, create another folder named the topic for which you want to make a submission e.g. aboutMe.

  • In this new folder, create a new file for the solution of the tasks, e.g aboutMe.txt

Setting up the project locally (One time setup) - Windows Users Only

  1. Open Command Prompt as an administrator
  2. Navigate to the project directory (Dufuna-CodeCamp-21)
  3. Once you're in the project directory, navigate to tests\setup\winos. This directory contains the setup files for Windows Operating System.
  4. Type the command: nodeinstaller.bat (This will generate a lot of output on the screen, do not worry.)
  5. If you do not have Python3 installed on your system, a pop-up to install python will appear on the screen. Ensure that you click the checkbox that says Add Python to Path.
  6. Once python is completely installed and you see any of the following text, the setup is complete. They are:
    • node is available OR
    • Please restart command prompt as an administrator
  7. After installation is complete, you need to close the current command prompt and open another command prompt as an administrator.
  8. On the newly opened command prompt, Navigate to the project directory (Dufuna-CodeCamp-21)
  9. Once you're in the project directory, navigate to tests\setup\winos. There is one more setup file you need to run
  10. Type the command: winrunner.bat. When this command successfully runs, you will see an output that says Setup is Complete!
  • As an aside, ensure you have installed on your PC the latest version of Chrome.

Setting up the project locally (One time setup) - Mac OS and Linux Users Only

  1. Open your terminal
  2. Navigate to the project directory (Dufuna-CodeCamp-21)
  3. Once you're in the project directory,
    • navigate to tests/setup/macos - for Mac OS users
    • navigate to tests/setup/linux - for Linux users. This directories contain the setup files for either Operating Systems.
  4. Type the command: ./installer.sh. This will generate a lot of output on the screen and at some point request for your password enter in your system's password, and wait till installation is complete.
  • As an aside, ensure you have installed on your PC the latest version of Chrome.

Now you can continue with your tasks.

Making a submission

If you want to make a submission for a week where the topic was HTML, you'll need to take the following steps:

  • Open your

    • terminal or git bash - for linux or MacOS users.
    • git bash - for Windows users.
  • Navigate to the project folder (In this case Dufuna-CodeCamp-21)

  • Create and move to a new branch if this is your first pull request, if not, use your former branch name and work with it.

  • Navigate to the folder that has your name inside the submissions folder.

  • Create a folder for the task using the topic of the week as the name. In this case, the folder will be named html because that's the topic for the week.

  • Put the necessary files/content for the task into the newly created folder.

  • Navigate to the tests folder in your local project

  • Because we're working on the task for HTML, navigate to HTML folder inside the tests folder.

    • run the command ./test.sh
  • Follow the prompts given on the command line

  • The last two steps above run some tests on your submission and provide the result of this test on your terminal or git bash as the case may be.

    • Ensure that all tests pass for you, if it doesn't, you'll be able to figure out where the mistake is from (feedback is given when the test is run).
    • Fix this mistakes in your submission files and run the test again.
  • This step is optional

    • run git status to check the state of your working directory
  • Add new or modified files to git if needed using the git add . command or specifically state the file to be added using git add <filename> command (where <filename> is replaced by the name of the file)

  • Commit your changes

  • Push this changes to the remote repository. If your branch is perhaps named html_task then your git command to push would be like git push origin html_task.

  • Go to the Github repository online and make a pull request.

Pull Requests

  • When you create a PR, you need to inform us of what you have done. e.g if Jane wants to create a PR to submit a solution for the HTML topic, the description would go thus;
    • I added a index.html file that contains solution to the HTML task
    • I updated the solution to the last task in lastTask.txt
  • Your PR title must contain your program abbreviation and task number in a square bracket, and a description. It should be of the format: [DFFE-5] Style the customer signup page

NOTES

  • Before starting a new task, always update your master branch locally by pulling using git pull origin master

Enjoy The Ride!!!

dufuna-codecamp-21's People

Contributors

adezayn avatar bukiz-cloud avatar cddunni avatar chipohameja avatar crispine2019 avatar dunamisdavid avatar edwardmunthali30 avatar femmycode avatar github-actions[bot] avatar hadiyyahtullah avatar irenenakiyingi avatar ireti203 avatar jeffkay16 avatar jonasmwansa avatar lungowe-s avatar lutechongo avatar mariam60 avatar maurice-jah avatar mchabo avatar mukhtarabdirahman avatar olaide-hok avatar olawale-alx avatar onuoha92 avatar owenkg avatar pezemiwe avatar promise316 avatar toluenny24 avatar ulrich01 avatar vincentnjele avatar yeshua7dm 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.