Hello everyone!
This is my first guide here, today I will teach you how to install Breadly, a Back-end for AppInventor applications (Although it can perfectly be used in WebApps or other applications)
Requirements
Since it is based on Laravel, it has pretty much the same requirements:
- PHP >= 7.1.0
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
Ok, assuming you already have the aforementioned requirements, proceed with the installation
Local Installation
For local development you must install an additional program (XAMPP, Laragon or WAMP)
For this guide I will use Laragon (I recommend the Full version)
In my case the installation of Laragon has installed the requirements, but check after installation
Laragon Installation
Once installed proceed to part 2
phpMyAdmin
By default phpMyAdmin is not installed next to Laragon, but it is easily installable by following these simple steps:
Menu > Tools > Quick add > phpMyAdmin
Once installed you must restart Laragon to apply the changes
Creating Database
Go to http://localhost/phpmyadmin
By default the user is root, does not have a password
Once you access you must create an exclusive database for Breadly
So far so good (I guess)
Cloning Breadly
From now on we will use the Terminal, so you must be careful
Open Laragon Terminal
Once opened you must write the following commands (In restricted order)
cd C:\laragon\www && git clone GitHub - avramovic/breadly: The missing backend for App Inventor applications
cd breadly
cp .env.example .env && nano .env
At this point you must modify the APP_URL (http://localhost/breadly in this case) and DB_DATABASE lines, you must leave DB_USERNAME in “root” and DB_PASSWORD empty
To save you must press CTRL + O, press enter and then CTRL + X
composer install
php artisan key:generate
php artisan migrate --seed
If everything goes well, a login screen will appear when accessing http://localhost/breadly/admin
Extra information
Default credentials:
[email protected] | password
Breadly is based on Voyager, so you can find documentation to customize here: https://voyager.devdojo.com