Skip to main content

Installation and setup

Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js: v12.x or higher (recommended v14.x or v16.x)
  • npm: v6.x or higher (comes with Node.js)
  • Angular CLI: v12.2.2
    npm install -g @angular/cli@12.2.2
    

Installation & Setup

1. Clone the Repository

git clone https://github.com/ondeliveroper/on-market-landing.git
cd on-market-landing

2. Install Dependencies

npm install

3. Environment Configuration

The application uses environment files located in src/environments/:

  • environment.ts - Development environment
  • environment.prod.ts - Production environment

4. Start Development Server

npm start
# or for Windows
npm run startWindows

The application will be available at http://localhost:4200/

Note: The start script uses NODE_OPTIONS='--openssl-legacy-provider' due to OpenSSL compatibility with Angular 12.