Welcome to the official repository for the National Institute of Technology Patna's website. This repository contains all the source code, assets, and documentation needed to develop and maintain the website.
This repository contains the source code and assets for the website of the National Institute of Technology Patna (NIT Patna). The website is built using Gatsby.js and runs on Node.js version 18.x.
- Framework: Gatsby.js , React.js , Next.js
- Language: JavaScript
- Server: Node.js (v18.x)
- Package Manager: Yarn
To get a local copy of the project up and running, follow these steps:
-
Clone the repository:
git clone https://github.com/nitp-website/nitp-main-website-ec2 cd nitp-main-website-ec2
-
Install dependencies:
yarn install
-
Set up environment variables: Create a
.env
file in the root directory and add the necessary environment variables as specified in the Environment Variables section. -
Start the development server:
yarn develop
-
Access the website: Open your browser and navigate to
http://localhost:8000
.
Before running the application, you need to set up the necessary environment variables. Create a .env.development
file in the root directory and add the following placeholders:
GATSBY_API_URL=https://admin.nitp.ac.in
We welcome contributions to improve the website. To contribute, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature-name
). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/your-feature-name
). - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.
For any questions or support, please contact the project maintainers.