- Clone this repository.
- Install the dependencies. Run
composer installcommand. - Create
.envfile by simply copying the.env.examplefile and rename it. - Configure the
.envfile with your database connection, seeder configuration, etc. - Generate the application key with
php artisan key:generatecommand. - Generate the storage link with
php artisan storage:linkcommand. - Generate the database structure with this commands based on your preferences:
- Use
php artisan migratefor creating / updating the database. - Use
php artisan db:seedfor seeding the database. - Use
php artisan migrate:freshfor fresh installation. - Use
php artisan migrate:fresh --seedfor fresh installation and seeding the database.
- Use
Warning! If you use
php artisan migrate:freshcommand, all tables will be dropped and recreated. All data in the tables will be lost.
- Finally, start the application with
php artisan servecommand.