1. Install dependencies ``composer install`` based on lock file.
2. Copy ``.env.example`` and rename to ``.env`` file.
3. ``php artisan key:generate`` to generate encryption key.
4. ``php artisan migrate:fresh`` to build the database.
5. ``php artisan db:seed`` to fill the database with content.
8. ``php artisan passport:keys`` setup Laravel Passport
9. ``php artisan passport:client --personal`` create a new passport client
10. ``php artisan db:seed --class=EmployeeAccounts`` creates employee accounts + adds Sdui contact person users
11. ``php artisan serve`` for running development server on *localhost:8080*
finding ini:
nano /usr/local/etc/php/7.4/php.ini
iOS sentry
stateless architecture:
https://www.bizety.com/2018/08/21/stateful-vs-stateless-architecture-overview/
DataGrip - make query nice
Command + option + l => look nice query
Explain does not reflect limit in rows counting
Explain ignores limit -> LIMIT is not taken into account while estimating number of rows being evaludated
https://www.percona.com/blog/2006/07/24/mysql-explain-limits-and-errors/
My MariaDBSome Notes:
10.5.4 mariaDB
Sister PASS
Saba1101
Saba1202
121277
Delete commits [ONLY EMERGENCY]
Delete the most recent commit, keeping the work you've done:
git reset --soft HEAD~1
Delete the most recent commit, destroying the work you've done:
git reset --hard HEAAAD~1
6- ignore requirements command
composer install --ignore-platform-reqs
7- composer
composer dump-autoload
docker login [git.sdui.de](<http://git.sdui.de/>):5050
docker-compose up -d