/phost

Bash script for fast add host on server for Phalcon project

Primary LanguageShellApache License 2.0Apache-2.0

phost

Bash script for fast add host on server for Phalcon project

Use

  • git clone https://github.com/ZhukMax/phost.git
  • sudo chmod +x ./phost/phost.sh
  • sudo phost/phost.sh
  • answer the questions

Also you can use keys with script:

  • --new (add new host and basic files for project)
  • --blank (add new host and empty directory for site)
  • --exists (add new host and files of exists project from git-repository)
  • --delete (for delete host)

For delete host use this script with key '--delete': sudo phost/phost.sh --delete