-
git clone -b master https://github.com/akhileshdarjee/origin-cms.git -
Update new git project URL
-
composer install -
cp .env.example .env -
php artisan key:generate -
(Optional) Naming your app -
php artisan app:name {YOUR_APP_NAME} -
Set database credentials in '.env' file
-
composer dumpautoload -o -
php artisan migrate:refresh --seed -
php artisan storage:link
cd /path/to/your/laravel/directory
sudo find . -type f -exec chmod 664 {} \;
sudo find . -type d -exec chmod 755 {} \;
sudo chown -R :www-data app/
sudo chmod -R ug+rwx app/
sudo chown -R :www-data bootstrap/cache
sudo chmod -R ug+rwx bootstrap/cache
sudo chown -R :www-data database/migrations
sudo chmod -R ug+rwx database/migrations
sudo chown -R :www-data storage/
sudo chmod -R ug+rwx storage/
sudo chown -R :www-data resources/lang
sudo chmod -R ug+rw resources/lang
cd /path/to/your/laravel/directory
sudo find . -type f -exec chmod 664 {} \;
sudo find . -type d -exec chmod 755 {} \;
sudo chown -R :www-data bootstrap/cache
sudo chmod -R ug+rwx bootstrap/cache
sudo chown -R :www-data storage/
sudo chmod -R ug+rwx storage/
sudo chown -R :www-data resources/lang
sudo chmod -R ug+rw resources/lang
Now, you've completed the configuration step ✌️
-
Serve it on your local server,
php artisan serve --port=8081 -
Hit the URL: http://localhost:8081/admin
Enjoy...!!! 👍