Welcome to Pujo Atlas - your ultimate guide for Pandal Hopping during Durga Puja in Kolkata! This open-source project aims to provide a comprehensive and user-friendly webapp that lists all the Durga Pujas happening around Kolkata and offers a host of features to make your pandal hopping experience seamless and enjoyable.
- Node.js version 20 or higher is required.
Some commands will assume you have the Github CLI installed, if you haven't, consider installing it, but you can always use the Web UI if you prefer that instead.
- Fork the repository Do make sure that the branch node-implementation comes with your fork
gh repo fork Pujo-Atlas-Kolkata/PujoAtlasKol-Backend
-
Clone the Git Repository:
git clone https://github.com/Pujo-Atlas-Kolkata/PujoAtlasKol-Backend.git cd PujoAtlasKol-Backend
-
Checkout to the
node-implementation
branch:git checkout node-implementation
-
Setup
.env.development
File: Create a.env.development
file in the root of your project and add the following environment variables:DJANGO_DB_NAME=PujoAtlasDb DJANGO_DB_USER=PujoAtlasDb_owner DJANGO_DB_PASSWORD=I1*******0aC # contact in discord for actual password DJANGO_DB_HOST=ep-tight-frost-a1w3l3i2.ap-southeast-1.aws.neon.tech DJANGO_DB_PORT=5432 DJANGO_DB_SYNC_MODE=dev SSL_MODE=true
-
Run Setup Script: Depending on your operating system, run the appropriate setup script to install dependencies and start the development server.
- Make the
setup.sh
script executable:chmod +x setup.sh
- Run the setup script:
./setup.sh
- Run the PowerShell script:
./setup.ps1
- Make the
- The setup script will check for the Node.js version (must be 20 or higher).
- It will install the NestJS CLI globally if it isn't already installed.
- It checks for the existence of the
.env.development
file and ensures the necessary environment variables are set. - It installs the required dependencies (
npm install
) and starts the NestJS development server (npm run start:dev
).
- Ensure you have the correct permissions to run scripts on your machine.
- If you encounter any issues during the setup process, verify that Node.js version 20 or higher is installed and that your
.env.development
file contains the correct values.
- Prerequisites: Clearly state the required Node.js version.
- Setup Instructions: Include all steps for cloning, checking out to the correct branch, and setting up environment variables.
- Platform-Specific Setup: Instructions for Unix-based systems and Windows, including the necessary commands for making the script executable and running it.
- What the Script Does: Describes the process that will be automated by the script.
- Best Practice: Ensure the user sets up the
.env.development
correctly and provides instructions in an easily readable format.
This README.md
should provide all necessary information for users to successfully set up and run the development server on any supported operating system.