Before you begin, ensure you have the following:
- A Supabase project set up and linked to the backend (refer to Supabase documentation)
- A Google Cloud Project configured for OAuth
- Node.js and npm installed on your system
-
Clone the repository:
git clone https://github.com/allgeo/openhub.git cd openhub -
Install dependencies:
npm install
-
Create a
.envfile in the root directory with the following content:PUBLIC_SUPABASE_URL="your_supabase_url" PUBLIC_SUPABASE_ANON_KEY="your_supabase_anon_key"Replace the placeholder values with your actual Supabase credentials.
To start the development server, run:
npm run devThe application should now be running on http://localhost:3000 (or your specified port).