Brayworth Web Site
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
application
www
.gitattributes
.gitignore
LICENSE
composer.json
readme.md
run.cmd

readme.md

Brayworth Web Site

Deploy to Web Server

  1. Create a user account to run composer in
   useradd -m -s /bin/bash [user]
  1. Create a folder to hold the deployment
   mkdir /opt/data
   chmod 777 /opt/data
  1. Switch to that user and pull in the repository
   su [user]
   git clone https://github.com/bravedave/brayworth-www.git brayworth
   cd brayworth
   composer install
  1. To stay up-to-date
   cd /opt/data/brayWorth
   su [user]
   git pull - maybe git fetch -p is better
   composer update