Skip to content

Robotics-Society-PEC/Studies

Repository files navigation

Deployment GitHub Release GitHub License GitHub Repo stars GitHub Issues or Pull Requests GitHub forks Gitpod Ready-to-Code

Studies

About The Project

PEC Paper is an open source project started to help PEC students find previous year papers in one place, hence helping them to prepare for exams.

How to Upload a Question Paper

Note

The Upload button on the UI does not work, it is a work in progress, till then use github to upload your question papers.

Step 1: Fork the Repository

  1. Go to the Studies Repository.
  2. Click the Fork button at the top-right corner.
  3. This will create a copy of the repository under your GitHub account.

Step 2: Clone Your Fork

  1. Open a terminal and run the following command to clone the repository:
    git clone https://github.com/YOUR-USERNAME/Studies.git
  2. Navigate to the repository directory:
    cd Studies

Step 3: Create a Directory for the Paper

Important

Insure that you follow the following format and only upload PDF files, otherwise the request will be declined.

  1. Navigate to the Papers directory:
    cd Papers
  2. Create a new directory following this structure:
    Papers/
    ├── <Course Name>/
    │   ├── <Year>/
    │   │   ├── Mid-Term.pdf
    │   │   ├── End-Term.pdf
    
  3. Add the PDF file inside the respective directory

Step 4: Update paper.json

  1. Navigate to the src/data/ directory:
    cd ../../src/data/
  2. Open paper.json in a text editor.
  3. Add an entry in the following format:
    {
       "name": "Computer Communication Network",
       "course_code": "EC2212",
       "resources": {
          "pyqs": [
             {
                "year": 2022,
                "file": "Mid-Term.pdf"
             }
          ]
       }
    }
  4. Save the file.

Step 5: Commit and Push Changes

  1. Stage the changes:
    git add Papers/ src/data/paper.json
  2. Commit the changes:
    git commit -m "Added Computer Communication Network 2022 Mid-Term Paper"
  3. Push the changes to your fork:
    git push origin main

Step 6: Create a Pull Request

  1. Go to your forked repository on GitHub.
  2. Click on Compare & pull request.
  3. Provide a meaningful title and description.
  4. Click Create pull request.

Your contribution will be reviewed and merged by the repository maintainers!

Reporting Issues

If you encounter a bug or have a feature request, please report it using the issue tracker.

Homage to the Original Creators

Note

This is supposed to be a fork of the PEC-CSS/PEC-Previous-Year-Papers, but I only took Papers from there and Created a new Front End.

Original Creators

Current Contributors

Current Creators