An open API service indexing awesome lists of open source software.

https://github.com/arif98741/laravelbash

This is for installing nginx, php and permission management for laravel deployment
https://github.com/arif98741/laravelbash

deployment laravel laravelbash laraveldeployment nginx php server

Last synced: about 2 months ago
JSON representation

This is for installing nginx, php and permission management for laravel deployment

Awesome Lists containing this project

README

          

## Laravel Deployment and Nginx Server setup using one file

## Some commands may not be executed successfully due to permission issue.

This file is built for root user not others. To modify for others users , simply add 'sudo' as prefix
of every command
Issues and Security: This file is built for only single use. You are also free to use at your **_own risk_**.

#### Step1: Download the all files in your machine and unzip inside /var/www directory

#### Step2: Run command

nano script.sh

#### Step3: edit script.sh with project name and ssh-url of your git repository

#### Step 4: save it using


  • Ctrl +X

  • Y

  • Enter

#### Step 5: Add Execute Permission to _script.sh_ file

chmod +x script.sh

#### Step 6: run

./script.sh

# Install and Tasks


> SSH Key Generate
> php
> install composer
> nginx
> permission to folders
> clone repository
> generate ssh-key
> assign laravel permission(for laravel permission use laravel.sh repeating 1-6 step )

*You are fully responsible for if any damage happened in server due to use of this bash script. So, use it at your own risk*