Note: The Hacktober Fest page is built using React; a JavaScript library for building user interfaces and Vite; a frontend tool used for building fast and optimized web applications.
![mlh-logo-color](https://private-user-images.githubusercontent.com/55846983/272407896-d5ccae96-86a7-4fed-8f00-e9f1d0aa5cac.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4OTkzODMsIm5iZiI6MTczODg5OTA4MywicGF0aCI6Ii81NTg0Njk4My8yNzI0MDc4OTYtZDVjY2FlOTYtODZhNy00ZmVkLThmMDAtZTlmMWQwYWE1Y2FjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDAzMzEyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM1NzRhOTMyZmZkOTlkNWQyNzg0ZDJiZmZlMzdhZDIyYTFiNTFkNzg4NzI1NzhiYzE2ZDU5NDc3ODczNzYwMzcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.34vxswXzn08k3pQuu2mBUVNAnFG4aZi3CoKydtx-RYU)
These are the steps you need to follow to get this site on your local system.
Follow these steps to install git in your computer.
- Go to https://git-scm.com/downloads.
- Click on Windows. Download should start.
- Go to downloads and install the package.
Open Git Bash in any folder and paste the following command
git clone https://github.com/tcet-opensource/hacktober-fest.git
- Go to https://nodejs.org/en/download
- Select Current.
- Download the 64-bit .msi version. Follow the steps and install NodeJS.
Note: It is important to have NodeJS in your system
- Install VS Code if not installed.
- Open Windows Terminal in the folder you have cloned the repo, as done in step 2.
Install pnpm globally
npm install -g pnpm
You can make changes to your respective files and changes will be shown once you have saved the file.
- To run the commands, make sure that you have installed pnpm globally first.
- All commands are run from the root of the project, from a terminal
Here are a set of commands used to run locally:
Command | Action |
---|---|
pnpm |
Installs dependencies |
pnpm run dev |
Starts local dev server at localhost:3000 |
pnpm run build |
Build your production site to ./dist/ |
pnpm run preview |
Preview your build locally, before deploying |
- To install all dependencies
pnpm install
- To run local dev environment
pnpm run dev