laravel-crm icon indicating copy to clipboard operation
laravel-crm copied to clipboard

Problems with Installation from composer vs from Github

Open ViajesIkea opened this issue 2 years ago • 8 comments

Bug report

Problems with Installation from composer vs from Github

Issue Description

When installing Krayin CRM from composer in the terminal, all the buttons work, it allows me to create, delete, edit, etc. But the change language option doesn't work and doesn't allow new languages ​​to be added.

And when installing with repository of Github resources, the language change option works, but the Roles tab stops working.

Preconditions

** Installation from Composer**

instalcionComposer

** Installation from Github**

cargarRoles

roleEdit

Steps to reproduce

  1. Install Krayin from the terminal with:
composer create-project krayin/laravel-crm
  1. Install Krayin from From the repository Github:

Download repository of Github

donwloadfromGithub

Expected result

All tabs should work regardless of whether the installation is done from composer or from Github.

ViajesIkea avatar Jun 16 '22 09:06 ViajesIkea

Hi @ViajesIkea

Actually, the multiple locale option is not available on our V1.2.2, so it is not working while you are installing using the composer.

Sanjaybhattwebkul avatar Jun 16 '22 10:06 Sanjaybhattwebkul

And the roles tab is working fine. Can you share the steps which you follow for installing the krayin CRM?

Sanjaybhattwebkul avatar Jun 16 '22 10:06 Sanjaybhattwebkul

  1. I download the .zip file from the Github repository.

  2. In VSCode from the terminal I run the command line

php artisan krayin-crm:install
  1. I configure the .env file

file-env

  1. Clear cache
php artisan config:cache 
  1. Start the local server with the command line:
php artisan serve

ViajesIkea avatar Jun 16 '22 10:06 ViajesIkea

Hi there, Please follow the given steps.

1. git clone --branch v1.2.2 https://github.com/krayin/laravel-crm.git. 2. cd laravel-crm 3. composer create-project 4. configure the .env file 5. php artisan krayin-crm:install 6. php artisan serve or localhost/laravel-crm/public/ [ on your browser.]

Sanjaybhattwebkul avatar Jun 16 '22 11:06 Sanjaybhattwebkul

Thanks @Sanjaybhattwebkul I will do it following your instructions. As soon as I do the installation I will show you the result.

ViajesIkea avatar Jun 16 '22 11:06 ViajesIkea

Hi @Sanjaybhattwebkul !! I have followed the steps. But it does not work. The Role tab still doesn't work.

tanRolBug

ViajesIkea avatar Jun 17 '22 07:06 ViajesIkea

What I did to make it work is to follow these steps:

  1. Install from composer.

  2. Go adding folders from the github directory that are not in the project created from composer. For example the WebForm folder.

  3. Go adding folders of translations into Spanish

  4. Configure the config-> app.php file for the Spanish language

The only thing that still doesn't work is the translation of the form alerts and the account picture icon doesn't work either.

NweBugs

ViajesIkea avatar Jun 17 '22 08:06 ViajesIkea

Hi @Sanjaybhattwebkul

What I can for solution this problem?

ViajesIkea avatar Jun 21 '22 09:06 ViajesIkea

Hi there, Please take a pull from this PR, for Spanish translation.

https://github.com/krayin/laravel-crm/pull/1017

And if you are facing any issues with installation please let me know. I will guide you

Sanjaybhattwebkul avatar Aug 17 '22 12:08 Sanjaybhattwebkul

Closing this issue as not getting any response from the last 5 days.

Feel free to reopen if you have any queries.

Sanjaybhattwebkul avatar Aug 22 '22 13:08 Sanjaybhattwebkul