Professional Documents
Culture Documents
TECHNICAL
DOCUMENTATION
Oluwatobi Odekunle,
Lead Developer.
Bagisto Installation on MAC
Overview:
Summary:
Purpose:
brew update
Install Composer:
mv composer.phar /usr/local/bin/composer
Install Laravel Valet Dependency: Paste that in a macOS Terminal or Linux shell
prompt.
Install Valet on your macOs: Paste that in a macOS Terminal or Linux shell prompt.
valet install
A top-level domain is one of the domains at the highest level in the hierarchical Domain
Name System of the Internet. The top-level domain names are installed in the root zone
of the name space.
The park command will register your current directory as a path that Valet should
search for your sites.
Paste that in a macOS Terminal or Linux shell prompt.
valet park
Bagisto is an eCommerce ecosystem designed for all to build and scale your business.
It's a free and open source eCommerce framework which offers you a wide range of
functionality and lets you have total control of your store.
Download bagisto in a folder named sites(create if not there) inside home: Paste
that in a macOS Terminal or Linux shell prompt.
Go to your browser and access your site: http://bagisto.app. Bagisto installer will pop
up in the next step where it will check for the minimum configuration as mentioned in the
prerequisites. If everything is alright, click the Continue button.
In the next step, you need to fill the environment variables, at last Save and Continue.
App Name
Here you need to provide the name for your application or your eCommerce store.
App URL
Here you need to provide the application URL, after hitting which front-end of your store
appears.
Database Connection
Choose the Database Connection that you will be using in the Database Connection.
Database Port
Here you need to provide the port number of the database that you will use. Most times
it is always 3306 as the default value.
Database Host
Provide database hostname to connect your site to your database. Default value:
127.0.0.1 but you can choose any host you want.
Database Name
Provide the name for the database that you have created for the store. You need to
have a database created already. Just provide the name.
Username
Password
Here you also need to provide the password for the database server.
Next, you will need to click on the Migrate and Seed button to perform successful
migration and also for loading test data in the tables.
Once the Migration and Seeder operation is completed, click on the Continue button.
At last, you will be needed to provide Admin details for your eCommerce store.
Click on Finish after the installation has been over and you will be redirected to the Sign
In Page, where you will provide the admin details to check the admin panel.
Step 13: Alternative to Step 12
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
-> Press 0 and then press enter to publish all assets and configurations.
CONCLUSION
Kindly let me know if you have any issue during the installation. Thanks.