A magical or exciting place where leads are generated. —ChatGPT, 2023
LeadLandia will serve up to three pages:
We’ll go through each step in detail so you can easily follow along. You’ll need to run a couple of commands using the command prompt or terminal, but don’t worry, we’ll guide you through the process. Additionally, we’ll cover how to use GitHub Desktop to clone the repository.
Before we start, make sure you have the following software installed on your computer:
First, open the command prompt on Windows or the terminal on macOS/Linux.
Navigate to the folder where you’d like to store the project. For example, you can use the following command to navigate to your “Documents” folder: cd Documents
Now, clone the repository using the following command: git clone git@github.com:ustwo/awe-leadlandia.git
Navigate to the newly created project folder using the cd command.
After cloning the repository, GitHub Desktop will open the project folder in your file explorer.
Open the command prompt on Windows or the terminal on macOS/Linux.
Navigate to the project folder using the cd command. Replace path/to/project with the actual path to your project folder. cd path/to/project
(keep in mind that there are a few projects withtin the same repo, so make sure you are in the folder of the part you want to test)
Now that you’ve navigated to the project, run the following command to install its dependencies:
npm install
This command will install all the necessary packages for the project. It might take a few minutes.
To start the development server, run the following command:
npm run dev
After running this command, you should see a message with the URL to access your project locally, usually something like http://localhost:3000.
Open your preferred web browser (e.g., Google Chrome, Mozilla Firefox, or Safari). Type or click in the URL provided in the previous step.