Start project for laravel 5.2.*, below are the commands to kickstart your project:
-
git clone -b master --single-branch https://gitlab.com/achieveee/laravel-crud.git
-
Now firstly change git origin url to your app git repo url as later you might end in getting git push errors.
-
composer install
-
Create '.env' file inside your project
-
php artisan key:generate
-
(Optional) Naming your app -
php artisan app:name {YOUR_APP_NAME}
-
Now create database for your Laravel app and include it's config in '.env' file
-
php artisan migrate:refresh --seed
Permissions
sudo chown -R :www-data {app-directory-path}
sudo chmod -R ug+rw {app-directory-path}/app/storage
Now, you've completed the configuration step ✌️
-
Serve it on your local server,
php artisan serve --port=8081
-
Hit this URL: https://localhost:8081/login
Login ID: admin
Password: admin@111
Enjoy...!!! 👍