Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Latest commit

 

History

History
57 lines (45 loc) · 1.29 KB

File metadata and controls

57 lines (45 loc) · 1.29 KB

Setup

Prerequisites

  1. Make sure you have Node.js LTS (at least v20) installed:
    • Use node --version from your terminal to check the version
  2. Install essential VS Code extensions:
    • Tailwind CSS IntelliSense
    • Prettier
    • ESLint
  3. Set up the InvestTrack backend and database according to their instructions:

Cloning & running the project

  1. Clone this project:

    git clone [email protected]:mugnavo/startupsphere.git

    or via HTTPS:

    git clone https://github.com/mugnavo/startupsphere.git
  2. Install dependencies:

    npm i
  3. Create a .env file at the root directory of the project with the following variables:

    # https://account.mapbox.com/access-tokens
    NEXT_PUBLIC_MAPBOX_TOKEN=
    
    # Server URL for InvestTrack backend
    NEXT_PUBLIC_BACKEND_URL=
  4. Run the project:

    npm run dev

    The development server should be running at http://localhost:3001.

  5. The project shares the same backend and database with InvestTrack, so you can use the same credentials to log in.

Deploying for production

  1. Build the project:

    npm run build
  2. Start the production server:

    npm start