Go to directory
cd /var/www
After entering, you will need to specify the OS user password, as well as the password for accessing the repository
sudo git clone https://Pavlusha311245@bitbucket.org/temak2008/fullplate.git
Go to the application directory
cd fullplate
Setting up the config file. Instead of the nano editor, you can use any convenient for you
mv env.example .env
nano .env
Change these fields according to the data you are using. Before specifying the address of the database, you should create it
DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE={your database}
DB_USERNAME={database username}
DB_PASSWORD={database password}
MAIL_MAILER=smtp
MAIL_HOST=null
MAIL_PORT=null
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS=null
MAIL_FROM_NAME="${APP_NAME}"
Start bash script
DANGER: This script should only be executed last after all actions have been completed
bash install.sh