The fastest way to get set up using package managers.
- Python 3.8+
- Node.js 16+ (npm comes with it automatically)
- Git
Open Terminal and run:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"# Install Python, Node.js, and Git all at once
brew install python3 node gitThat's it! Homebrew installs Python, Node.js (with npm), and Git in one command.
python3 --version
node --version
npm --version
git --versionWinget comes pre-installed on Windows 10/11!
Search for "PowerShell" in the Start menu and run as Administrator.
# Install Python
winget install Python.Python.3.12
# Install Node.js (includes npm)
winget install OpenJS.NodeJS.LTS
# Install Git
winget install Git.GitClose PowerShell and open a new one, then:
python --version
node --version
npm --version
git --versionNote: If python doesn't work, try python3 or py.
# Go to your Downloads folder
cd Downloads
# Download the project
git clone https://github.com/Alex-cmd-dev/Help2Study.git
# Go into the project
cd Help2Study
# Run automated setup
./setup.shImportant - Do this first! Before running the setup script, enable PowerShell script execution. Open PowerShell as Administrator and run:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUserThis is a one-time setup that allows npm to work properly. After running this command, you can close the Administrator PowerShell window.
Then, in a regular PowerShell or Command Prompt window:
# Go to your Downloads folder
cd Downloads
# Download the project
git clone https://github.com/Alex-cmd-dev/Help2Study.git
# Go into the project
cd Help2Study
# Run automated setup
./setup.bat- Go to https://aistudio.google.com
- Sign in with your Google account
- Click on "Get API Key" in the dashboard
- Click "Create API Key"
- Create a new project (or select an existing project if you have one)
- Select the project you want to use for this application
- Click "Generate API Key"
- Copy the generated API key
- Open the
.envfile and paste your API key as:GEMINI_API_KEY=your_key_here
Windows tip: To quickly open the .env file in Notepad, run:
Invoke-Item ".env"This project uses two separate .env files:
Location: Help2Study/.env
Contains: Django backend configuration
GEMINI_API_KEY- Your Google Gemini API keySECRET_KEY- Django secret key (optional for development)- Other backend settings
The setup script creates this automatically from .env.example.
Location: Help2Study/frontend/.env
Contains: React/Vite frontend configuration
VITE_API_URL- The URL of your backend server
The setup script creates this automatically from frontend/.env.example.
IMPORTANT: Both files are created automatically by the setup script. If you're setting up manually or having connection issues, make sure both files exist!
make devThis starts both servers automatically.
Open two separate Command Prompt or PowerShell windows:
Window 1 - Start the Backend:
cd backend
python manage.py runserverWindow 2 - Start the Frontend:
cd frontend
npm run devOnce both servers are running:
- Backend: http://localhost:8000
- Frontend: http://localhost:5173
Open http://localhost:5173 in your browser to use the app!
To stop the servers later, press Ctrl+C in each window.
Update Windows to the latest version. Winget comes with Windows 10 (version 1809+) and Windows 11.
Make sure Command Line Tools are installed:
xcode-select --installClose and reopen your terminal, then try again.
- Fast: One command installs everything
- Easy: No clicking through installers
- Updates: Easy to update (
brew upgradeorwinget upgrade) - Clean: Easy to uninstall (
brew uninstallorwinget uninstall)
That's it! See the main README.md for more details about the project.