Table of Contents
IQPS is a platform for searching and uploading previous year question papers for IIT Kharagpur students. The frontend is deployed at https://qp.metakgp.org and the backend is hosted on a DigitalOcean droplet with 2GB RAM and a single CPU. See MetaPloy for the deployment architecture. IQPS was originally created by Shubham Mishra in python. You can find it here.
Note
Currently in active development. Get involved at our Slack.
- Clone this repository.
- Start the backend by running
go run .
in thebackend/
directory. - Set up the frontend by running
pnpm install
and thenpnpm start
in thefrontend/
directory. - Profit.
[WIP: Steps to locally set up crawler]
- Set up MetaPloy for production.
- Clone this repository at a convenient location such as
/deployments
. cd backend/
- Set the appropriate production environment variables in the
.env
file. - Run
docker compose up
to start the backend. - Optionally set up a Systemd service to start the wiki on startup or use this deployment github workflow.
Environment variables can be set using a .env
file. Use the .env.template
files for reference.
DB_PATH
: Path to the database file to use.STATIC_FILES_URL
: The base URL for the static files (PDFs).QPS_PATH
: The local path on the server to store question paper PDFs.
VITE_BACKEND_URL
: The IQPS backend URL. Usehttp://localhost:5000
in development.
The currently active maintainer(s) of this project.
Honoring the original creator(s) and ideator(s) of this project.