Step 0: Some Guideline

1. Pre-requisite

I. Composer Download Composer. Refer to installation instructions for composer installation.

II. Visual Studio

Download Visual Studio.

III. XAMPP Apache

Download XAMPP.

IV. Node.js

Download Node.js at https://nodejs.org/en/

2. Start XAMPP MYSQL

Start the Apache and MySQL if you are run at local environment

XAMPP Control Panel

3. Switching Domain to Local Host

  1. At backend > app > Http > Controllers > Controller.php

If mapmama is running at local environment, return false, else if live environment, return to true

  1. At frontend > src > store.js

command the part of

    // < LIVE
    // domainBackend: "https://mapmama.com",
    // domainFrontend: "https://mapmama.com",
    // > LIVE

if you are running at the local environment

4. Database Configuration

At backend > .env, command the part of

# < LIVE
# LIVE_SERVER=1
# FRONTEND_URL=https://mapmama.com/
# APP_URL=https://mapmama.com/
# DB_CONNECTION=mysql
# DB_HOST=127.0.0.1
# DB_PORT=3306
# DB_DATABASE=mapmama-vue-laravel
# DB_USERNAME=koson8888
# DB_PASSWORD=Velocity1910!
# > LIVE

if you are running at the local environment

5. Terminal

Developer can find the terminal at View or Keyboard Shortcut CTRL + `

Last updated