Skip to content

quickly set up local app for development database administration

Notifications You must be signed in to change notification settings

headerx/laravel-jetstream-adminer

Repository files navigation

Start

Clone

git clone [email protected]:headerx/laravel-jetstream-adminer.git

Configure Database credentials by copying env.example to .env and editing as appropriate.

php -r "file_exists('.env') || copy('.env.example', '.env');"

create an adminer database

mysql -u root -p -e "create database adminer;"

install

composer install

run migrations and seed

php artisan migrate:fresh --seed

run server

php artisan serve

login as [email protected] with password secret

Note You may also want to edit the value of the HOME constant in app/Providers/RouteServiceProvider.php to match your details. Query String (default) is for auto login (to adminer) with a database server running on localhost, and a user of root

    /**
     * The path to the "home" route for your application.
     *
     * This is used by Laravel authentication to redirect users after login.
     *
     * @var string
     */
    public const HOME = '/iframes/adminer?server=127.0.0.1%3A3306&username=root&db=';

About

quickly set up local app for development database administration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages