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.
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.
- Go to the Studies Repository.
- Click the Fork button at the top-right corner.
- This will create a copy of the repository under your GitHub account.
- Open a terminal and run the following command to clone the repository:
git clone https://github.com/YOUR-USERNAME/Studies.git
- Navigate to the repository directory:
cd Studies
Important
Insure that you follow the following format and only upload PDF
files, otherwise the request will be declined.
- Navigate to the
Papers
directory:cd Papers
- Create a new directory following this structure:
Papers/ ├── <Course Name>/ │ ├── <Year>/ │ │ ├── Mid-Term.pdf │ │ ├── End-Term.pdf
- Add the PDF file inside the respective directory
- Navigate to the
src/data/
directory:cd ../../src/data/
- Open
paper.json
in a text editor. - Add an entry in the following format:
{ "name": "Computer Communication Network", "course_code": "EC2212", "resources": { "pyqs": [ { "year": 2022, "file": "Mid-Term.pdf" } ] } }
- Save the file.
- Stage the changes:
git add Papers/ src/data/paper.json
- Commit the changes:
git commit -m "Added Computer Communication Network 2022 Mid-Term Paper"
- Push the changes to your fork:
git push origin main
- Go to your forked repository on GitHub.
- Click on Compare & pull request.
- Provide a meaningful title and description.
- Click Create pull request.
Your contribution will be reviewed and merged by the repository maintainers!
If you encounter a bug or have a feature request, please report it using the issue tracker.
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.