Clone the Ideathon Starter Repository
How to clone and start your own project from the ideathon repository
Ideathon Starter Repository
The GDG Ideathon Repository provides a pre-configured starter template for building your projects quickly.
Quick Start
Prerequisites
Before you begin, ensure you have:
-
Git installed on your computer
-
Node.js (v18 or later) installed
-
A code editor, such as:
Clone the Repository
Step 1: Open Terminal
- Windows: Open Command Prompt or PowerShell
- Mac/Linux: Open Terminal
Step 2: Clone the Repository
Run the following command to clone the repository:
git clone https://github.com/RCOEM-Google-DSC/ideathon.gitStep 3: Navigate to the Project
cd ideathonInstall Dependencies
Install all required packages using npm:
npm installThis will download and install all the necessary dependencies listed in package.json.
Configure Your Project
1. Environment Variables
Create a .env.local file in the root directory:
# Create the file
touch .env.local # Mac/Linux
# OR
type nul > .env.local # WindowsAdd your configuration variables (refer to .env.example if available):
# Add your environment variables here
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_key
# Add other required variables2. Review the Documentation
Check the README.md file in the repository for specific setup instructions and project details.
Run Your Project
Development Mode
Start the development server:
npm run devYour project will be available at: http://localhost:3000
Build for Production
To create an optimized production build:
npm run buildThen start the production server:
npm startMaking It Your Own
1. Initialize a New Git Repository
If you want to create your own project based on this starter:
# Remove the existing git history
rm -rf .git # Mac/Linux
# OR
rmdir /s .git # Windows
# Initialize a new repository
git init
# Create your first commit
git add .
git commit -m "Initial commit: Starting from ideathon template"2. Create Your Own Repository
- Go to GitHub and create a new repository
- Link your local project to the new repository:
git remote add origin https://github.com/YOUR_USERNAME/YOUR_REPO_NAME.git
git branch -M main
git push -u origin main3. Customize Your Project
- Update
package.jsonwith your project name and details - Modify the content in
/contentand/appdirectories - Add your own components and features
- Update the README with your project information
Project Structure
The ideathon repository follows this structure:
ideathon/
├── app/ # Next.js app directory
├── components/ # Reusable UI components
├── content/ # Documentation and content files
├── lib/ # Utility functions and configurations
├── public/ # Static assets
├── supabase/ # Database configurations
└── package.json # Project dependenciesNeed Help?
- Check the Getting Started Guide for project ideas
- Review the Google Technology Guides in the sidebar
- Ask questions in the GDG Discord server
Next Steps
- Clone the repository
- Install dependencies
- Configure environment variables
- Run the development server
- Start building your project idea
- Deploy your finished project
Ready to build something amazing? Start coding!