Skip to content

Installation Guide

Hussein Hany edited this page Dec 17, 2023 · 1 revision

Installation Guide

To run BookEra locally, follow the instructions below.

Prerequisites

Make sure you have the following installed on your machine:

Environment Variables

Create a .env file in the root directory of your project and add the following variables:

MONGODB_URL=your_mongodb_url
SECRET=your_secret_key
CLOUDINARY_CLOUD_NAME=your_cloudinary_cloud_name
CLOUDINARY_API_KEY=your_cloudinary_api_key
CLOUDINARY_API_SECRET=your_cloudinary_api_secret

Local Setup

  1. Clone the repository: git clone https://github.com/your-username/BookEra.git
  2. Navigate to the project directory: cd BookEra
  3. Install dependencies npm install
  4. Run the development server npm run dev

The application will be accessible at http://localhost:3000 in your browser.

Clone this wiki locally