We've put together a working Laravel app (backend-only). This should make it easier to:
In this Demo repository, we've:
Don't use this demo to start your real projects. Please use the recommended installation procedure. You don't want all the bogus entities we've created. You don't want all the packages we've used. And you definitely don't want the default admin user. Start from scratch!
If you just want to take a look at the Backpack interface and click around, you don't have to install anything. Take a look at demo.backpackforlaravel.com - we've installed for you. The online demo is wiped and reinstalled every hour, on the hour.
If you do want to install the Demo and play around, it's easy to do so. But because the demo uses Backpack/PRO and Backpack/Editable-Columns, you need to purchase "Everything" first, or those addons individually. If you don't like it, we'll happily give you a refund.
1) In your
www directory, wherever you host your apps:
git clone https://github.com/Laravel-Backpack/demo.git backpack-demo
2) Set your database information in your
.env file (use
.env.example as an example);
3) Authenticate and install the requirements:
cd backpack-demo # Tell Composer how to connet to the private Backpack repo. # You'll need to replace these with your real token and password: composer config http-basic.backpackforlaravel.com [your-token-username] [your-token-password] # Install all dependencies composer install
4) Populate the database:
php artisan key:generate php artisan migrate php artisan db:seed --class="Backpack\Settings\database\seeds\SettingsTableSeeder" php artisan db:seed
Once everything's installed, and your database has been set up:
[email protected], password
config/backpack/base.phpto change this and other preferences.
Depending on your vhost configuration you might need to access the application via a different url, for example if you're using
artisan serveyou can access it on http://127.0.0.1:8000/admin - if you're using Laravel Valet, then it may look like http://backpack-demo.test/admin - 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.