Giter Site home page Giter Site logo

nutellinoit / laradock-crudbooster Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 3.0 1.07 MB

Docker compose + Kubernetes solution to build applications with http://laradock.io and https://github.com/crocodic-studio/crudbooster

Makefile 2.38% Shell 43.90% HTML 49.63% CSS 4.09%
docker laradock laravel crudbooster

laradock-crudbooster's Introduction

Laradock + Crudbooster

How to install

Start the solution, go to the laradock folder and launch

docker-compose up -d

this command starts all the containers and creates the / crm folder in the project root

Enter the support container, workspace, to run all the various composer commands

docker-compose exec --user=laradock workspace bash

Install laravel

composer create-project laravel/laravel .
composer require crocodicstudio/crudbooster

Add the following class to the providers in the file, config/app.php

crocodicstudio\crudbooster\CRUDBoosterServiceProvider::class,

Set the database settings in the crm/.env file in this way (to connect it directly to the newly created percona container)

DB_CONNECTION=mysql
DB_HOST=percona
DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret

Launch the crudbooster install

php artisan crudbooster:install

You will be asked if you have set up your credentials db, type "yes"

#     __________  __  ______  ____                   __
#    / ____/ __ \/ / / / __ \/ __ )____  ____  _____/ /____  _____
#   / /   / /_/ / / / / / / / __  / __ \/ __ \/ ___/ __/ _ \/ ___/
#  / /___/ _, _/ /_/ / /_/ / /_/ / /_/ / /_/ (__  ) /_/  __/ /
#  \____/_/ |_|\____/_____/_____/\____/\____/____/\__/\___/_/
#

--------- :===: Thanks for choosing CRUDBooster :==: ---------------
====================================================================
System Requirements Checking:
Laravel Version (>= 5.3.*): [Good]
PHP Version (>= 5.6.*): [Good]
Mbstring extension: [Good]
OpenSSL extension: [Good]
PDO extension: [Good]
Tokenizer extension: [Good]
XML extension: [Good]
GD extension: [Good]
PHP Fileinfo extension: [Good]
public dir is writable: [Good]
--
Installing:
I remove some default migration files from laravel...

 Do you have setting the database configuration at .env ? (yes/no) [no]:
 > yes

Then he will ask you what kind of installation to do, give him the command 0

Publishing CRUDBooster needs file...

 Which provider or tag's files would you like to publish?:
  [0 ] Publish files from all providers and tags listed below
  [1 ] Provider: Barryvdh\DomPDF\ServiceProvider
  [2 ] Provider: Fideloper\Proxy\TrustedProxyServiceProvider
  [3 ] Provider: Illuminate\Mail\MailServiceProvider
  [4 ] Provider: Illuminate\Notifications\NotificationServiceProvider
  [5 ] Provider: Illuminate\Pagination\PaginationServiceProvider
  [6 ] Provider: Intervention\Image\ImageServiceProviderLaravel5
  [7 ] Provider: Maatwebsite\Excel\ExcelServiceProvider
  [8 ] Provider: Unisharp\Laravelfilemanager\LaravelFilemanagerServiceProvider
  [9 ] Provider: crocodicstudio\crudbooster\CRUDBoosterServiceProvider
  [10] Tag: CBHook
  [11] Tag: cb_asset
  [12] Tag: cb_config
  [13] Tag: cb_localization
  [14] Tag: cb_migration
  [15] Tag: cb_type_components
  [16] Tag: cb_user_controller
  [17] Tag: config
  [18] Tag: laravel-mail
  [19] Tag: laravel-notifications
  [20] Tag: laravel-pagination
  [21] Tag: lfm_config
  [22] Tag: lfm_public
  [23] Tag: lfm_view
 > 0

Credentials di default

/admin/login

How to update

Open the terminal.

composer require crocodicstudio/crudbooster
php artisan crudbooster:update

If something has been broken crudbooster:

php artisan crudbooster:update

laradock-crudbooster's People

Contributors

nutellinoit avatar putrarifin avatar

Stargazers

 avatar  avatar

Watchers

 avatar

laradock-crudbooster's Issues

A bunch off issues when trying to run "composer create-project laravel/laravel ."

When you enter the container by typing docker-compose exec --user=laradock workspace bash, you start getting a bunch of permission issues with laradock user ( you can't use composer with root , that's ok) trying to run composer create-project laravel/laravel .

You're supposed to change www folder ownership to laradock with chown otherwise it won't even start installing,

Only then , you can run composer create-project laravel/laravel . and it runs smooth.

The command composer require crocodicstudio/crudbooster also raises a long list of compatibility issues that it's not able to fix by itself

Installation failed, reverting ./composer.json to its original content.

If you run composer diagnose you are tempted to run auto-healing commands like composer self-update but, again, laradock user is not allowed to.

Exit the container, enter as root, run composer self-update ,exit and enter again as laradock but again, this won't fix the issue.

Can you please help us identifying the missing / execeding requirement/s in composer.json?

Also running composer require with --ignore-platform-reqs won't fix the issue.

Thank you for this astonishing project, i'm trying a porting from a WAMP to a Linux containerized solution

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.