Robert 2 years ago
parent 7e7c80fa4b
commit c2e241e74b
  1. 3
      protected/README.MD

@ -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 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 dollar sign $ for the Linux prompt commands to run.
Note: I use the greater-than sign > for the MySQL prompt commands. 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 ## Pull Git repo
@ -15,6 +16,7 @@ Note: I use the greater-than sign > for the MySQL prompt commands.
$ mkdir -p /var/www $ mkdir -p /var/www
$ sudo groupadd www-data $ sudo groupadd www-data
$ chgrp www-data /var/www $ chgrp www-data /var/www
$ sudo apt-get update && sudo apt-get install git
$ cd /var/www $ cd /var/www
$ git clone https://git.mysnippetsofcode.com/bobs/cms $ git clone https://git.mysnippetsofcode.com/bobs/cms
$ cd cms $ cd cms
@ -80,6 +82,7 @@ $ sudo mv composer.phar /usr/local/bin/composer
## Install Composer deps ## Install Composer deps
``` ```
# Must be a regular user belonging to www-data group.
$ cd protected $ cd protected
$ pwd $ pwd
# You should be in /var/www/cms/protected # You should be in /var/www/cms/protected

Loading…
Cancel
Save