laravelGocab Laravel APIs (CLI)

circle-exclamation

Getting Started With Gocab Laravel

1. Open Gocab_laravel directory that you downloaded from CodeCanyon.

2. Environment Settings:

Add the required database credentials in .env .

Add values to the below keys in the .env file

If you're running your Laravel project on your own computer (localhost), make sure to use localhost with current running port and put in APP_URL. as a given example below

If you want to install on live server, you need to add your live server Gocab_laravel url like a APP_URL=http://your-domain.com.

circle-exclamation

3. Install Required Dependencies:

In the Gocab_laravel folder, run following command in the terminal to install the required dependencies.

4. Generate Laravel APP KEY:

Once the necessary dependencies are successfully installed, run following command to generate laravel app key.

5. Installation of Gocab :

Note: If you've previously run following command or migrated tables, be aware of the fact that it will erase all of your data.

Then, run following command to install Gocab database table.

During the installation, you'll be asked two questions:

1. Do you want to continue with the installation? If you say yes, Gocab will continue to install.

2. Do you want to import in sample data? If you say yes, the sample data will be imported. If you say no, the installation will go ahead without adding any sample data.

6. Link Storage folder to Public folder:

Then, run following command to store and display images correctly.

7. Building Assets and SCSS:

Note: Please make sure you've installed NodeJs. If you haven't installed, you can easily do by following this link: Link to Laravel Prerequisites.arrow-up-right

To set up and compile your assets and SCSS files, follow these steps:

First, you need to install the necessary Node modules.

Compile assets and scss by running below command.

Use the command below to start the development server with hot reload, allowing you to see changes instantly without refreshing the browser.

8. Run Gocab Laravel:

Once you've finished all the previous steps, you can run the Gocab Laravel by adding following command.

When you start your Gocab Laravel project, it typically runs on the default port, you can access it by opening 127.0.0.1:8000 arrow-up-rightin your web browser.

9. Verify Gocab Purchase License Code:

Before using the Gocab Laravel, it's important to verify your Envato purchase code.

Enter in your Envato username and the Gocab purchase code and click next button.

If you don't know where to find your purchase code, click here: Where Is My Purchase Code?arrow-up-right

circle-exclamation

Congratulations, Gocab has been successfully installed and configured in your system!🎉

For Postman API Documentation Click Herearrow-up-right.

Here are some common solutions if your project isn't running successfully:

  • Ensure you're using the latest version of PHP, Composer and Node.js.

  • Try deleting the "node_modules" folder and "package-lock.json" file, then run npm install again.

  • If the problem persists, consider re-downloading the theme from Codecanyon and retrying.

  • If none of these steps work, you can create a support ticket for assistance.

Last updated