File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,24 @@ installation.These variables are mandatory.
14
14
- Run ` docker-compose -f docker-compose.yml -f docker-compose.dev.yml up ` to run Vanilla Forums
15
15
- The Vanilla Forums will be available at ` http://<your_docker_machine_ip> ` by default
16
16
17
+ ## Local Deployment with local mysql
18
+ - Create ` vanilla.env ` and copy the contents of ` sample.vanilla.env ` into ` vanilla.env ` . Configure parameters.
19
+ - Create ` mysql.env ` and copy the contents of ` sample.mysql.env ` into ` mysql.env ` . Configure parameters.
20
+ ` MYSQL_DATABASE ` and ` MYSQL_ROOT_PASSWORD ` might be changed. You need to use these values during Vanilla Forums
21
+ installation.These variables are mandatory.
22
+ ` MYSQL_ROOT_PASSWORD ` specifies the password that will be set for the MySQL root superuser account.
23
+ - Make sure ` MYSQL_HOST ` is set to ` mysql-local ` in both ` vanilla.env ` and ` mysql.env `
24
+ - Go to file ` config/vanilla/config.php ` and change the parameter ` $Configuration['Garden']['Installed'] ` to ` false ` as shown below
25
+ ```
26
+ $Configuration['Garden']['Installed'] = false;
27
+ ```
28
+ - Run ` docker-compose -f docker-compose.yml -f docker-compose.local.yml build --build-arg BRANCH=develop ` to build the image
29
+ - Run ` docker-compose -f docker-compose.yml -f docker-compose.local.yml up ` to run Vanilla Forums
30
+ - After it is done, go to ` localhost ` in your browser
31
+ - You should be able to see the page similar to below
32
+ ![ Vanilla Forums Wizard] ( ./docs/images/setup_wizard.png )
33
+ - Follow the instructions in [ Setup Vanilla Forums] ( ./docs/SetupVanillaForums.md ) to complete installation.
34
+
17
35
## Docker Deployment with existing MySql
18
36
- You need to know how connect to MySQL Database:
19
37
- ** Database Host**
You can’t perform that action at this time.
0 commit comments