Install Laravel

 1. Clone the repo

   ```sh

   $ git clone https://github.com/qkohst/manajemen_administrasi_sekolah.git

   ```

2. Change directory in project which already clone

   ```sh

   $ cd manajemen_administrasi_sekolah

   ```

3. Install Composer packages

   ```sh

   $ composer install

   ```

4. Create database on your computer

5. Create a copy of your .env file 

   ```sh

   $ cp .env.example .env

   ```

6. In the .env file, add database information to allow Laravel to connect to the database

   ```sh

   DB_CONNECTION=mysql

   DB_HOST=127.0.0.1

   DB_PORT=3306

   DB_DATABASE={database-name}

   DB_USERNAME={username-database}

   DB_PASSWORD={password-database}

   ```

7. Generate an app encryption key

   ```sh

   $ php artisan key:generate

   ```

8. Seed the database

      ```sh

      $ php artisan db:seed

      ```

9. Running project

    ```sh

    $ php artisan serve

Posting Komentar untuk "Install Laravel"