Readme changes

This commit is contained in:
Almira Krdzic
2018-07-30 09:03:58 +02:00
parent 097e4259bd
commit ff693b9a76

View File

@@ -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