composer fix

main
Robert 2 years ago
parent 5e674fd2ba
commit ce6a0ab36e
  1. 11
      protected/README.MD

@ -6,10 +6,10 @@ 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: I use the greater-than sign > for the MySQL prompt commands.
```
## Pull repo
## Pull Git repo
```
# AS a normal user NOT Root, we will sudo or doas for that from time to time:
$ mkdir -p /var/www
@ -20,7 +20,7 @@ $ git clone https://git.mysnippetsofcode.com/bobs/cms
$ cd cms
```
## SETUP from MySQL Root run:
## SETUP MySQL as Root, run:
```
# Install the server:
$ sudo apt-get install mysql-server
@ -74,6 +74,7 @@ Admin password is: SunSet@XQWET
## Install Composer
```
$ curl -sS https://getcomposer.org/installer | php
$ sudo mv composer.phar /usr/local/bin/composer
```
## Install Composer deps
@ -86,7 +87,7 @@ $ composer install
## Install web server apache2 or nginx
Pick one
Pick just one
```
# for Apache2
@ -117,7 +118,7 @@ $ sudo apt-get install certbot
$ sudo certbot --apache
$ sudo systemctl restart apache2
-----------------------------------------------------------
---------------------------OR--------------------------------
# for nginx
$ sudo apt-get install nginx

Loading…
Cancel
Save