Commit 73683629 authored by Arnaud Bey's avatar Arnaud Bey
Browse files
parents 0b95997b 02bad8c5
# Requirements
Installation & configuration
============================
Requirements
------------
* docker-ce :
* https://docs.docker.com/install/linux/docker-ce/ubuntu/
* https://docs.docker.com/install/linux/docker-ce/debian/
......@@ -8,7 +12,8 @@
* https://packagecloud.io/github/git-lfs/install
* or https://help.github.com/articles/installing-git-large-file-storage/
# Installation
Installation
--------------
```
git clone https://gricad-gitlab.univ-grenoble-alpes.fr/lzbk/MagicWord.git
cd MagicWord
......@@ -23,7 +28,8 @@ PWD=dbrootpassword
make install
```
# Notes
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
......@@ -36,10 +42,20 @@ php bin/console magicword:generate-grid english 10 150
php bin/console magicword:generate-grid french 10 250
```
# Update
Update
------
```
git pull origin master
sudo docker-compose up --build -d
sudo docker-compose exec php bash
make update
```
Create Administrator
--------------------
To have an administrator of your Magic Word instance,
1. you first need to create an account on the site, like any other account.
2. then launch php container `sudo docker-compose exec php bash`
3. in that container type `php bin/console fos:user:promote`
1. enter the screen name of the account to promote
1. submit the role `ROLE_ADMIN`
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