Below are the commands to kickstart your project for laravel 5.2.*:
-
git clone https://github.com/akhileshdarjee/origin-cms.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: http://localhost:8081/login
Login ID: admin
Password: admin@111
Enjoy...!!! 👍