Readme changes
This commit is contained in:
12
README.md
12
README.md
@@ -53,21 +53,21 @@ Wiaas implementation based on wordpress [woocommerce](https://woocommerce.com/)
|
||||
|
||||
1) Environment variables
|
||||
|
||||
For handling environment variables during local development we use `dotenv` library which will load all variables from `local.env` file
|
||||
if such file is present. These variables will then be accessible inside wordpress.
|
||||
For handling environment variables during local development we use `dotenv` library which will load all variables from `local.env` file
|
||||
if such file is present. These variables will then be accessible inside wordpress.
|
||||
|
||||
cp environment.env local.env
|
||||
|
||||
Update `local.env` with your local environment variables.
|
||||
Update `local.env` with your local environment variables.
|
||||
|
||||
2) Apache
|
||||
|
||||
Point your apache server to `new-wiaas/backend` by updating apache default host files to point to it.
|
||||
(do not copy folder content to `/var/www/html`, since then dotenv will not be able to load `local.env` file since it is placed one folder above.)
|
||||
Point your apache server to `new-wiaas/backend` by updating apache default host files to point to it.
|
||||
(do not copy folder content to `/var/www/html`, since then dotenv will not be able to load `local.env` file since it is placed one folder above.)
|
||||
|
||||
3) Wordpress
|
||||
|
||||
Run setup commands to install wordpress and required plugins with composer:
|
||||
Run setup commands to install wordpress and required plugins with composer:
|
||||
|
||||
cd backend
|
||||
composer install
|
||||
|
||||
Reference in New Issue
Block a user