Commit 966eccd9 authored by Arnaud Bey's avatar Arnaud Bey

install doc

parent ed9ab005
......@@ -8,9 +8,6 @@ Requirements
* https://docs.docker.com/install/linux/docker-ce/debian/
* When installing docker-ce, if you are using a ubuntu based distro (such as Mint), in step 4 of the ubuntu/debian install replace ```$(lsb_release -cs) \``` with the actual name of the ubuntu/debian distro your OS is based upon (For [Mint Tessa](https://linuxmint.com/download_all.php), it would be bionic, for [bunsen hydrogen](https://www.bunsenlabs.org/repositories.html), it would be jessie)
* docker-compose
* git lfs:
* https://packagecloud.io/github/git-lfs/install
* or https://help.github.com/articles/installing-git-large-file-storage/
Installation
--------------
......@@ -31,13 +28,13 @@ Notes
* During the last docker command, you should be able to leave the default value for every parameter by pressing ```enter```, except for:
* the ```database_password``` which should match the one you entered in .env file and in the PWD var
* the ```secret``` phrase, which should be changed
* if you let default values, MW should be available at localhost:666 and the phpmyadmin at localhost:8080
* if you let default values, MW should be available at localhost:666 and the adminer at localhost:667
* You'd better leave default values, some stuff is hardcoded...
* Once application installed, you can generate some grid with these commands in the php container. It will generates 10 grids in french and english with at least 150 (and 250 for french) foundable forms.
```
php bin/console magicword:generate-grid english 10 150
php bin/console magicword:generate-grid french 10 250
php bin/console magicword:generate-grid english 10 150 0
php bin/console magicword:generate-grid french 10 250 0
```
Update
......@@ -49,6 +46,14 @@ sudo docker-compose exec php bash
make update
```
Import lexicon
------
copy `lexicon.tsv` and `spec.txt` in a new folder in `application/data/lexicons`
```
sudo docker-compose exec php bash
console lexicon:import FOLDERNAME
```
Create Administrator
--------------------
To have an administrator of your Magic Word instance,
......
Markdown is supported
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