Track price changes of your favourite ads from njuskalo.hr
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Composer
composer
Copy .env.example
to .env
cp .env.example .env
Install project dependencies via composer
composer install
Uncomment these lines and create the according database
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=njuskalo
DB_USERNAME=njuskalo
DB_PASSWORD=njuskalo
Uncomment these lines and change {USER}
with your local user
DB_CONNECTION=sqlite
DB_DATABASE=/home/{USER}/njuskalo-tracker.sqllite
Create the database file
touch /home/$USER/njuskalo-tracker.sqllite
If you have PHP installed locally and you would like to use PHP's built-in development server to serve your application,
you may use the serve Artisan command. This command will start a development server at http://localhost:8000
php artisan serve
Unit and feature test can be run by
php artisan test
- Goran Galinec - gorangalinec