Starter kit to accelerate develop internal web app in Universitas Udayana. Build with AdminKit in Laravel + integrate with Single Sign On Universitas Udayana.
- PHP version >= 8.0.2
- Laravel 9.x + ViteJS
- Livewire 2.x
- AlpineJS
- Boostrap 5 [without jQuery])(https://blog.getbootstrap.com/2021/05/05/bootstrap-5/#javascript)
- RistekUSDI SSO Laravel
- RistekUSDI RBAC Connector
Run command below.
For non-production ready please add flag
--stability=dev
as below.
composer create-project --stability=dev ristekusdi/adminkit-laravel example-app
Note: if you install with the command above, you don't need to run php artisan key:generate because it already take care by the composer scripts. :)
-
Create database with the name of your application then update your database configuration in
.env
file. -
Copy KEYCLOAK_* environment value for SSO and RBAC_CONNECTOR_HOST_URL for get list of users and client roles from your client in IMISSU2 and copy it to
.env
file.
Note: imissu2-dev for development and imissu2 for production.
-
Run
php artisan migrate
. -
Run
php artisan db:seed
to run seeder for menus, permissions, and roles. -
Run
npm install
to install JavaScript dependencies that need for this starter kit. -
Run
php artisan serve
in currrent command tab andnpm run dev
in another command tab.
Notes
- Command
php artisan serve
is for running application on PHP development server. - Command
npm run dev
is for generate CSS and JavaScript assets for application. - If you use another port except default port (8000) from Laravel, you may run
php artisan serve --port=<port-number>
command. - if you use custom domain
.test
with Laravel Valet or Traefik, you need to change the value of APP_URL because its related with generate CSS and JavaScript assets in your development server.