Commit 7970d7e8 authored by Mathieu Loiseau's avatar Mathieu Loiseau
Browse files

improve install procedure

parent 8e095ca7
......@@ -15,15 +15,17 @@ cd MagicWord
cp .env.dist .env
vi .env
#vi or any other text editor, this will allow you to set the DB root password
#this password will be asked during the install
sudo docker-compose up --build -d
sudo docker-compose exec php bash
PWD=dbrootpassword
#(optional) this command is to allow you not to enter the db root password for each query that it is supposed to perform
#(optional) this command is to allow you not to enter the db root password (set in .env) for each query that it is supposed to perform
make install
```
# Notes
* During the last docker command, you should be able to leave the default value for every parameter (just press enter, except for the last one, the secret phrase, which should be changed)
* the db paswword set in `.env` is the default value for the db password parameter
* if you let default values, MW should be available at localhost:666 and the phpmyadmin at localhost:8080
* You'd better leave default values, some stuff is hardcoded...
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment