Skip to content

A deployer automation script to provision ubuntu server and deploy laravel

Notifications You must be signed in to change notification settings

niveshsaharan/deployer-laravel-server-provision

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

deployer server provision script

  • Clone the repo or download a zip
  • Copy .deployer.example as .deployer in your project root directory
  • Copy deploy.php
  • Configure .deployer/config.php with your own configurations
  • Configure .deployer/.hosts.yml with your server IP address
  • Paste your own Public (id_rsa.pub) and Private SSH key (id_rsa) files in .deployer/.ssh directory
  • Change permission for .deployer/.ssh/id_rsa and .deployer/.ssh/id_rsa.pub to 400 (chmod 400 .deployer/.ssh/id_rsa*)
  • Run dep server:provision production if you just need to provision your server or dep deploy production if you need to deploy your project as well

Checklist:

  • Your domain should point to your server IP before you run the script
  • deploy.php exists in your project route
  • .deployer/.hosts.yml file must have your domain or IP address for hostname:
  • .deployer/config.php file must have the same domain you pointed to your server's ip

Use at your own risk

About

A deployer automation script to provision ubuntu server and deploy laravel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages