diff --git a/README.md b/README.md index ea08447..f8bc94b 100644 --- a/README.md +++ b/README.md @@ -1,114 +1,164 @@ # NIRMAN Project Documentation -## Overview -NIRMAN is a project submission platform for NST-ADYPU. This repository serves as the database for the main website, containing team submissions and project information. - -Repository Link: [NIRMAN-SUBMission-of-NST-ADYPU](https://github.com/nst-sdc/NIRMAN-SUBMission-of-NST-ADYPU) - -## Tech Stack -- Frontend: HTML, CSS, JavaScript -- Data Storage: JSON files -- Version Control: Git - -## Project Structure -``` -NIRMAN-SUBMission-of-NST-ADYPU/ -├── teams/ -│ ├── team1/ -│ │ ├── data.json -│ │ └── assets/ -│ └── team2/ -│ ├── data.json -│ └── assets/ -└── README.md +## Repository Structure +This project consists of two separate repositories: +1. **Nirmaan-show**: Main showcase repository +2. **NIRMAN-SUBMission-of-NST-ADYPU**: Submission repository + +## Technology Stack +- **Frontend**: + - HTML5 + - CSS3 + - JavaScript (ES6+) + - Bootstrap for responsive design +- **Version Control**: Git +- **Hosting**: GitHub Pages + +## Project Setup + +### Prerequisites +- Git installed on your system +- Modern web browser (Chrome, Firefox, Safari) +- Text editor (VS Code recommended) + +### Local Development Setup +# Clone the repositories +```bash +git clone https://github.com/your-username/Nirmaan-show.git +git clone https://github.com/nst-sdc/NIRMAN-SUBMission-of-NST-ADYPU.git ``` ## Working with JSON Files ### JSON File Structure -Each team folder contains a `data.json` file with the following structure: ```json { - "teamName": "Team Name", - "projectTitle": "Project Title", - "members": [ - { - "name": "Member Name", - "role": "Role" + "teamName": "Example Team", + "members": [ + { + "name": "Member 1", + "role": "Developer" + } + ], + "projectDetails": { + "title": "Project Name", + "description": "Project Description" } - ], - "description": "Project Description", - "technologies": ["Tech1", "Tech2"], - "assets": { - "images": ["path/to/image1.jpg"], - "videos": ["path/to/video1.mp4"] - } } ``` -### Modifying JSON Files -1. Ensure proper JSON syntax -2. Use valid file paths for assets -3. Keep asset file names lowercase and without spaces -4. Validate JSON after modifications using a JSON validator +### JSON Modification Guidelines +1. Always validate JSON syntax using tools like [JSONLint](https://jsonlint.com/) +2. Keep backup before making changes +3. Use proper indentation (2 or 4 spaces) +4. Maintain consistent naming conventions +5. Add comments in separate documentation ## Handling 404 Errors -### Common Causes of 404 Errors -1. Incorrect file paths in JSON -2. Missing asset files -3. Case sensitivity issues in file names -4. Invalid folder structure - -### How to Fix 404 Errors -1. Check file paths in JSON files -2. Verify all referenced assets exist -3. Ensure correct case in file names -4. Validate folder structure matches the template - -## Contributing Changes - -### Setting Up Local Environment +### Common Causes +1. Incorrect file paths in HTML/CSS/JS files +2. Case sensitivity issues in filenames +3. Missing files or resources +4. Incorrect repository configuration + +### Prevention and Fixes +1. **Check File Paths**: + - Use relative paths correctly + - Verify file existence + - Maintain consistent casing + +2. **GitHub Pages Configuration**: + ```yaml + # In .github/workflows/pages.yml + name: Deploy to GitHub Pages + on: + push: + branches: [ main ] + ``` + +3. **Custom 404 Page**: + Create a `404.html` in root directory: + ```html + + +
+