Skip to content

gioacchinopoletto/ubot41-cockpit

Repository files navigation

License

About UBOT41 Cockpit

UBOT41 Cockpit is our scratch point for fresh admin panel. We have users, groups and permissions management, multi language interface (fresh install provide English and Italian) and some modules.

Based on

  • Laravel: PHP framework
  • Bootstrap: CSS/JS framework (minimum version 4.5.3, current version 5.1.3)

We are using only Bootstrap CSS framework instead of Tailwind CSS coming as default in since Laravel 8.

Add-on libraries and dependencies

Installation

  1. Clone or download this repo
  2. Run composer update to update all project dependencies
  3. Rename .env.example file to .env
  4. Create your MySQL database on localhost
  5. Update .env file with your personal data (especially with database credentials)
  6. Run php artisan key:generate to generate a new APP_KEY for your app
  7. We use database session. Please run: php artisan migrate before import our dummy data
  8. Update /config/cockpit.php and /config/app.php files with your personal data and options
  9. Update /config/services.php file with your Facebook API data if you need Facebook auth via Laravel Socialite (if you are using Socialite don't forget to set options on /config/cockpit.php)

Installation notes

dummy data: our dummy data have only 1 admin user with first permissions for user, roles and permissions management: login with dummy@dummy.com as username and dummydummy as password for the first time

We have add db seeders with all dummy data. After database migration, run php artisan db:seed to populate the database. Into /mysql you can find our mysql dump if you don't like seeders.

socialite: as example we have provided Facebook login, but you can add more services. Don't forget to add more service on /resources/views/auth/login.blade.php.

Blade sections

UBOT41 Cockpit comes with X areas by default:

  • top-scripts: header scripts
  • content: main page content
  • bottom-scripts: bottom scripts, executed after Bootstrap and JQuery load

Contributing

Thank you for considering contributing to the UBOT41 Cockpit.

License

The UBOT41 Cockpit code is open-sourced software licensed under the MIT license.