Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mathieu Loiseau
MagicWord
Commits
73683629
Commit
73683629
authored
Jan 17, 2019
by
Arnaud Bey
Browse files
Merge branch 'master' of
https://gricad-gitlab.univ-grenoble-alpes.fr/lzbk/MagicWord
parents
0b95997b
02bad8c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
INSTALL.md
View file @
73683629
# 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`
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment