Ajiet-DevNation / DevNation-CMS

5 stars 11 forks source link

Enhance Setup Guide for DevNation-CMS #48

Closed gaureshpai closed 6 hours ago

gaureshpai commented 8 hours ago

47 Done!

This pull request introduces an enhanced setup.md file for the DevNation-CMS project, aimed at providing clear, comprehensive instructions for users to set up the project on their local machines. The updated guide covers prerequisites, installation steps, and troubleshooting tips, ensuring a smoother onboarding experience for contributors. Below are the detailed updates made in this file:

1. Comprehensive Overview Added a clear introduction that outlines the purpose of the document and what users can expect, making it easier for newcomers to understand the setup process. 2. Prerequisites Section Expanded the prerequisites to include: GitHub Account: Instructions on creating an account. Code Editor: Suggested Visual Studio Code as the recommended code editor. PHP Installation: Guidance on installing PHP through XAMPP or WAMP for local development. Composer: Instructions on installing Composer, which is critical for managing PHP dependencies. 3. Installation of XAMPP Provided detailed installation steps for both XAMPP, including: Links to download the installers. Step-by-step instructions on starting Apache and MySQL services. 4. Detailed Roadmap for Setup Clear, step-by-step instructions on setting up the DevNation-CMS: Instructions to copy and configure the .env file for environment variables. Detailed commands for installing dependencies using Composer. Steps to run migrations and seed the database, complete with optional commands for populating the database with initial data. 5. Starting the Application Provided specific instructions on how to run the Laravel application using the built-in server, including the default URL for access. 6. Common Errors and Troubleshooting Included a troubleshooting section that addresses common issues users may encounter during setup: Detailed explanations and solutions for potential errors related to database connectivity, class not found errors, and Composer installation failures.