Installing Laramagz

Install on Server

  1. Click MySQL ® Databases.

    1 databases mysql databases
  2. Create new database.

    2 databases create new database
  3. Create new user and then click Password Generator.

    3 databases mysql new users
  4. Password Generator.

    4 databases mysql password generator
  5. Create User.

    5 databases mysql create users submit
  6. Add User to Database.

    6 databases add user to database
  7. Manage User Privileges.

    7 privileges
  8. Go to phpMyAdmin.

    8 databases phpmyadmin
  9. Clik your database.

    9 phpmyadmin databases
  10. Click Import.

    10 phpmyadmin import
  11. Upload database file.

    11 import sql
  12. Import has been successfully.

    12 import successfully
  13. Back to CPanel. Clik File Manager.

    13 files file manager
  14. Click Upload.

    14 upload
  15. Click Select File.

    15 select file
  16. Select file laramagz.zip.

    16 select laramagz
  17. Click Go Back to "/home/xxx"

    17 go back to home
  18. Extract laramagz.zip.

    18 extract
  19. Click Extract File(s).

    19 extract file
  20. Click "close".

    20 extracting results
  21. Go to folder public_html.

    21 goto public html
  22. Got to folder laramagz .

    22 open folder laramagz
  23. Click Select All and Move.

    23 selectall
  24. Type /public_html then click Move File(s).

    24 move files
  25. Click Up One Level.

    25 up one level
  26. Select folder laramagz then click Delete.

    26 delete laramagz
  27. Checklist Skip then click confirm

    27 trash confirm
  28. Select right at file .env and click edit

    28 env edit
  29. Edit file .env

    29 edit env
  30. Goto root home and Delete file laramagz.zip

    30 laramagz delete
  31. Result

    homepage
  32. See this video

Install in a subfolder

Install on Local Computer

  1. Create Database

    create database
  2. Extract file zip

  3. Set .env file

    DB_DATABASE=laramagz
    DB_USERNAME=root
    DB_PASSWORD=root
  4. Import database or migrate file

    php artisan migrate --seed
  5. Running serve Artisan command

    php artisan serve
  6. See this video

  7. Update Database (local)

    php artisan migrate:refresh --seed
    //or
    php artisan migrate:fresh --seed