jackycgq / 72crm

A cutting-edge choice for your Customer Relationship Management 客户管理的前沿创新-悟空CRM

Home Page:http://www.72crm.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

title excerpt
Demo

The best way to see if you like Backpack is to install a working demo of Laravel with all Backpack packages pre-installed.

However, if you do like it, please install it using the recommended installation procedure. That will take you through each package individually and you'll end up understanding how it works a lot better. [block:callout] { "type": "warning", "title": "Please don't use this to start your real projects", "body": "Unless all Backpack packages are needed in your new project, you'll end up having packages that you're not using in your vendor/ folder." } [/block]

  1. Run in your terminal:
git clone https://github.com/Laravel-Backpack/demo.git backpack-demo
  1. Set your database information in your .env file (use the .env.example as an example);

  2. Run in your backpack-demo folder:

composer install
php artisan key:generate
php artisan migrate
php artisan db:seed --class="Backpack\Settings\database\seeds\SettingsTableSeeder"
php artisan db:seed

Usage

Once your database has been set up, you will be able to create your own admin user.

  1. Your admin panel will be available at http://backpack.dev/admin
  2. Register a new user at http://backpack.dev/admin/register
  3. If you're building an admin panel, you should close the registration. In config/backpack/base.php look for "registration_open" and change it to false.
  4. The real benefit of Backpack is not in its packages, but in how easy it is to code something custom. Go through the CRUD How it works to understand it, then create a CRUD panel for an entity, using the fast procedure outlined at the end of that page. Say... Product.

[block:callout] { "type": "info", "title": "vhost configurations", "body": "Depending on your vhost configuration you might need to access the application via a different url, for example if you're using artisan serve you can access it on http://127.0.0.1:8000/admin/register - if you're using laravel valet, then it may look like http://backpack-demo.dev/admin/register - you will need to access the url which matches your systems configuration. If you do not understand how to configure your virtual hosts, we suggest watching Laracasts Episode #1 to quickly get started https://laracasts.com/series/laravel-from-scratch/episodes/1" } [/block]

About

A cutting-edge choice for your Customer Relationship Management 客户管理的前沿创新-悟空CRM

http://www.72crm.com


Languages

Language:PHP 61.3%Language:Vue 31.2%Language:JavaScript 3.5%Language:CSS 2.6%Language:Smarty 0.7%Language:HTML 0.7%Language:PLpgSQL 0.1%