<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sushma Shrestha on Medium]]></title>
        <description><![CDATA[Stories by Sushma Shrestha on Medium]]></description>
        <link>https://medium.com/@sushma21?source=rss-339a43feaf03------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*xOs1bh2vtRwTMV3kUXizdA.jpeg</url>
            <title>Stories by Sushma Shrestha on Medium</title>
            <link>https://medium.com/@sushma21?source=rss-339a43feaf03------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 05:31:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sushma21/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Smooth Sailing: Setting Up Your Laravel Project after Cloning from Git]]></title>
            <link>https://medium.com/@sushma21/smooth-sailing-setting-up-your-laravel-project-after-cloning-from-git-33f4471e637a?source=rss-339a43feaf03------2</link>
            <guid isPermaLink="false">https://medium.com/p/33f4471e637a</guid>
            <category><![CDATA[git]]></category>
            <category><![CDATA[laravel]]></category>
            <category><![CDATA[set-up-after-clone]]></category>
            <dc:creator><![CDATA[Sushma Shrestha]]></dc:creator>
            <pubDate>Mon, 05 Jun 2023 03:31:02 GMT</pubDate>
            <atom:updated>2023-06-21T12:46:07.931Z</atom:updated>
            <content:encoded><![CDATA[<p>Congratulations on taking the first step towards developing your Laravel project by cloning it from Git! In this article, we’ll guide you through the essential steps to set up your project smoothly and ensure a hassle-free development experience. So, let’s dive in!</p><p><strong>Step 1: Rename or copy .env.example to .env</strong></p><p>One of the crucial initial tasks is to copy or rename the .env.example file to .env. Open your terminal, navigate to the root directory of your cloned Laravel project, and execute the following command:</p><pre>cp .env.example .env</pre><p>The renamed .env file will serve as the configuration file for your project.</p><p><strong>Step 2: Install PHP dependencies</strong></p><p>To install the required PHP dependencies, use Composer. In your terminal, navigate to the root directory of your project and run the following command:</p><pre>composer install</pre><p>You can also use short form composer i instead which is short form. Composer will read the composer.json file and install all the necessary packages defined within it.</p><p><strong>Step 3: Update Environment Variables</strong></p><p>Open the .env file using a text editor of your choice. In this file, you will find various configuration options for your Laravel project. Provide appropriate values for the variables, such as database credentials, application key, and any other necessary settings specific to your project. For generating an application key, execute the following command in your terminal:</p><pre>php artisan key:generate</pre><p>This will generate a unique application key for your project.</p><p><strong>Step 4: Install JavaScript Dependencies</strong></p><p>If your Laravel project relies on JavaScript libraries or frameworks, you need to install the required dependencies using NPM (Node Package Manager). Execute the following command in your terminal:</p><pre>npm install</pre><p>NPM will read the package.json file and fetch all the necessary JavaScript packages defined for your project.</p><p><strong>Step 5: Database Configuration</strong></p><p>Create a new database for your Laravel project using a database management tool such as phpMyAdmin or MySQL Workbench. Ensure that the database credentials in your .env file match the newly created database.</p><p>To migrate the database tables, execute the following command in your terminal:</p><pre>php artisan migrate</pre><p>This command will create the necessary tables defined in your project’s migrations.</p><p><strong>Step 6: Serve your application</strong></p><p>Now, it’s time to run your Laravel application. In your terminal, navigate to the root directory of your project and execute the following command:</p><pre>php artisan serve</pre><p>This command will start the Laravel development server, allowing you to access your application locally at <a href="http://localhost:8000.">http://localhost:8000.</a></p><p>By following these steps, you can efficiently set up your Laravel project after cloning it from Git. Configuring the environment variables, installing dependencies, and properly configuring the database will ensure a smooth development experience. Now you’re ready to embark on your Laravel journey and build impressive applications with confidence. Happy coding!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=33f4471e637a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>