|
|
|
|
@ -7,6 +7,7 @@ Updates: Robert S. |
|
|
|
|
Note: I use the hash sign # to note a comment, do not run it in the terminal. |
|
|
|
|
Note: I use the dollar sign $ for the Linux prompt commands to run. |
|
|
|
|
Note: I use the greater-than sign > for the MySQL prompt commands. |
|
|
|
|
Note: The apt-get package mgr is used by debian Linux like Ubuntu. |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
## Pull Git repo |
|
|
|
|
@ -15,6 +16,7 @@ Note: I use the greater-than sign > for the MySQL prompt commands. |
|
|
|
|
$ mkdir -p /var/www |
|
|
|
|
$ sudo groupadd www-data |
|
|
|
|
$ chgrp www-data /var/www |
|
|
|
|
$ sudo apt-get update && sudo apt-get install git |
|
|
|
|
$ cd /var/www |
|
|
|
|
$ git clone https://git.mysnippetsofcode.com/bobs/cms |
|
|
|
|
$ cd cms |
|
|
|
|
@ -80,6 +82,7 @@ $ sudo mv composer.phar /usr/local/bin/composer |
|
|
|
|
|
|
|
|
|
## Install Composer deps |
|
|
|
|
``` |
|
|
|
|
# Must be a regular user belonging to www-data group. |
|
|
|
|
$ cd protected |
|
|
|
|
$ pwd |
|
|
|
|
# You should be in /var/www/cms/protected |
|
|
|
|
|