Welcome to the official repository for the TerraHacks website! This project uses Next.js and Tailwind CSS to create a dynamic and responsive website for the TerraHacks hackathon.
TerraHacks is an annual hackathon focused on promoting innovation and collaboration among developers. This repository contains the source code for the TerraHacks website, which provides information about the event, registration details, schedule, and more.
To get started with this project, follow the steps below:
-
Clone the repository:
git clone https://github.com/yourusername/TerraHacks.git cd TerraHacks
-
Install dependencies:
npm install
-
Run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
-
Create a
.env.local
file in your project root:NEXT_PUBLIC_BASE_URL=https://terrahacks.ca
To start the development server, use the following command:
npm run dev
This will run the app in development mode. Open http://localhost:3000 to view it in the browser. The page will reload if you make edits. You will also see any lint errors in the console.
To build the app for production, use the following command:
npm run build
This will create an optimized build of the application in the .next
folder.
To start the production server, use:
npm start
TerraHacks/
├── public/ # Static assets
├── src/componenets # Reusable components
├── src/app # Next.js pages
├── globals.css # Global styles (including Tailwind CSS config)
├── .gitignore # Git ignore file
├── next.config.js # Next.js configuration
├── .eslintrc.json # ESLint configuration
├── package.json # Project dependencies and scripts
├── postcss.config.js # PostCSS configuration
├── README.md # Project documentation
├── .env.local # Create this file as described above
└── tailwind.config.js # Tailwind CSS configuration
We welcome contributions to improve the TerraHacks website. To contribute, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name
- Make your changes and commit them:
git commit -m 'Add some feature'
- Push to the branch:
git push origin feature/your-feature-name
- Open a pull request.
Please ensure your code adheres to our coding standards and includes appropriate tests.
This project is licensed under the GNU Version 3 License. See the LICENSE file for details.
If you have any questions or suggestions, feel free to reach out to us at contact@terrahacks.com.
Thank you for being part of TerraHacks! Let's innovate and collaborate to make something amazing.