Setup: 1. Clone the repository
git clone https://github.com/Bellov/vehicle_parking
2. Configure MariaDB database
CREATE DATABASE parking
GRANT ALL PRIVILEGES ON DATABASE parking TO your 'user name';
\q
3. Run the application
- Open the console and cd your project root directory
composer install
php artisan key:generate
npm install
npm run dev
- Then open
.env
and change username and password as per MariaDB installation.
DB_CONNECTION=pgsql
DB_HOST=hostname
DB_PORT=5432
DB_DATABASE=Your database name
DB_USERNAME=Your database username
DB_PASSWORD=Your database password
php artisan migrate
php artisan serve
- The project have queue for sending email 5 minutes after make new record:
php artisan queue:work
- To setup mailtrap just write your user_name / password from the website in
.env
MAIL_MAILER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=username
MAIL_PASSWORD=password
MAIL_ENCRYPTION=tls