@tnatanael, I thaught the same, untill I manually added a `is_superuser` column to my users-table (type `int` with length 1). This isn't done by migrations. #31
@tnatanael, I thaught the same, untill I manually added a is_superuser column to my users-table (type int with length 1). This isn't done by migrations.
I tried the php artisan panel:add [user_id] command but this didn't work for me, so I manually changed the is_superuser to value 1, then /admin works.
Steps from scratch:
composer global require laravel/installer
laravel new [project-folder-name] --jet
cd [project-folder-name]
composer require rezaamini-ir/laravel-easypanel
php artisan panel:install
Create database + user and update credentials in .env
php artisan migrate
npm install && npm run dev
Register a new user using /register
Manually add an is_superuser-column to your users-table and set value to '1' for your user.
Go to /admin and see if it works.
Bonus: update config/easy_panel.php and set todo to true
Still doesn't work, no admin route shown.
@tnatanael, I thaught the same, untill I manually added a
is_superuser
column to my users-table (typeint
with length 1). This isn't done by migrations. I tried thephp artisan panel:add [user_id]
command but this didn't work for me, so I manually changed theis_superuser
to value1
, then /admin works.Steps from scratch:
.env
config/easy_panel.php
and settodo
totrue
Originally posted by @J87NL in https://github.com/rezaamini-ir/laravel-easypanel/issues/4#issuecomment-782829132