mykeels.com

UnifiedTransform — Getting Started

A guide to setting up the UnifiedTransform project without Docker.

UnifiedTransform — Getting Started in 2019

A guide to setting up the UnifiedTransform project without Docker.

vimeo:

vimeo

Prerequisite

Be sure to have php, composer and mariadb setup on your computer

Steps

  1. Clone the repository
git clone https://github.com/changeweb/Unifiedtransform
  1. Create .env file from .env.example

  2. composer install

  3. Generate APP_KEY using php artisan key:generate

  4. Edit the database connection configuration in .env file

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=unifiedtransform
DB_USERNAME=unified
DB_PASSWORD=secret

Be sure to have created a database in your mysql called unifiedtransform, and use a DB_USER that exists, has privileges, and has an appropriate DB_PASSWORD.

  1. Migrate your Database with php artisan migrate

Modify UsersTableSeeder.php, by specifying a default master account name, and email.

  1. Seed your Database with php artisan db:seed

In app/Http/Kernel.php, you might want to uncomment the following lines to improve the page speed:

//\RenatoMarinho\LaravelPageSpeed\Middleware\InlineCss::class,
//\RenatoMarinho\LaravelPageSpeed\Middleware\ElideAttributes::class,
//\RenatoMarinho\LaravelPageSpeed\Middleware\InsertDNSPrefetch::class,
//\RenatoMarinho\LaravelPageSpeed\Middleware\RemoveComments::class,
//\RenatoMarinho\LaravelPageSpeed\Middleware\TrimUrls::class,
//\RenatoMarinho\LaravelPageSpeed\Middleware\RemoveQuotes::class,
//\RenatoMarinho\LaravelPageSpeed\Middleware\CollapseWhitespace::class,
  1. Serve the application with php artisan serve.

Master Account View

School Admin Account View

Related Articles

Tags