Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    How to Install Bagisto in MAC?

    Installing Bagisto
    2
    2
    1739
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bagisto-mogul Banned last edited by bagisto-mogul

      Follow these steps, precisely:

      Brew Update:

      1. Run brew update in terminal

      Install PHP:
      2. brew install php@7.2

      Install NodeJS/NPM:
      3. brew install node

      Install Composer:
      4. Install Composer by going to the link below:
      https://getcomposer.org/download/

      Change the composer's path to default system path:
      5. mv composer.phar /usr/local/bin/composer

      Install MySQL:
      6. brew install mysql@5.7

      Install Larvel Valet Dependency:
      7. composer global require laravel/valet

      Install Valet in your Mac system:
      8. valet install

      Configure your TLD:
      9. valet domain app/test

      Download bagisto in a folder named sites(create if not there) inside home:
      10. composer create-project bagisto/bagisto bagisto

      Change directory for other commands below:
      11. cd inside the folder bagisto

      Note: Put the details for MySQL database and APP in .env file:
      APP_URL
      DB_CONNECTION
      DB_HOST
      DB_PORT
      DB_DATABASE
      DB_USERNAME
      DB_PASSWORD

      Run Migration To Get All Tables that Bagisto Requires:
      12. php artisan migrate

      Run this If you need demo data:
      13. php artisan db:seed

      Run this to publish all assets from config files to assets:
      14. php artisan vendor:publish
      -> Press 0 and then press enter to publish all assets and configurations.

      Make the symlink for storage/public inside public directory:
      15. php artisan storage:link

      This must be it.

      1 Reply Last reply Reply Quote 0
      • F
        FreightNet12 last edited by

        In order to get the latest versions of the dependencies and to update the composer.lock file, you should use the update command**.** This command is also aliased as upgrade as it does the same as upgrade does if you are thinking of apt-get or similar package managers.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post