Skip to content

Commit

Permalink
Update INSTALLATION.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Vignesh025 authored Sep 24, 2024
1 parent 12ebd98 commit 7aa5564
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions INSTALLATION.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
## Fork the Repository
Before starting the installation process, **fork the repository** to your GitHub account by clicking the "Fork" button at the top right of the repository page.

## Installation
To set up the project locally, follow these steps:

1. Clone the repository:
1. **Clone the forked repository**:
```bash
git clone https://github.com/yourusername/CampX.git
cd CampX
```

2. Install the necessary dependencies:
2. **Install the necessary dependencies**:
```bash
npm install
```

3. Set up environment variables:
3. **Set up environment variables**:
Create a `.env` file in the root directory with the following variables:
```env
DATABASE_URL=your_mongo_atlas_url
Expand All @@ -21,9 +24,10 @@ To set up the project locally, follow these steps:
CLOUDINARY_API_SECRET=your_cloudinary_api_secret
```

4. Start the server:
4. **Start the server**:
```bash
node app.js
```

5. Open your browser and navigate to `http://localhost:3000` to view the app.
5. **View the app**:
Open your browser and navigate to `http://localhost:3000` to view the app.

0 comments on commit 7aa5564

Please sign in to comment.