File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+ Bitonic - La Nuit de l'info Team : D
2
+ ===================
3
+
4
+
5
+ Installation
6
+ -------------
7
+ ** Requirements:**
8
+ Install FIG at fig.sh
9
+ install docker
10
+ install docker-enter
11
+
12
+ Get source
13
+ ` $ git clone http://the.repository `
14
+ ` $ cd repository `
15
+
16
+ Create data directory for mongo & mysql
17
+ ` $ mkdir -p tmp/mongo && mkdir -p tmp/mysql `
18
+
19
+ Install MYSQL
20
+ ` $ cd docker && fig run mysql `
21
+ ` $ docker-enter docker_mysql_run_1 `
22
+ ` $ mysql_install_db && supervisorctl restart mysql `
23
+
24
+ Install root user
25
+ - Go to localhost:81/phpmyadmin (root - empty password)
26
+ - Click on SQL and copy paste:
27
+ `GRANT ALL PRIVILEGES ON * .* TO 'root'@'%'
28
+ IDENTIFIED BY ''
29
+ WITH GRANT OPTION;
30
+ FLUSH PRIVILEGES;`
31
+
32
+ Finaly
33
+ ` $ exit `
34
+ Enable configuration file
35
+ ` $ cd ../ && cp config.json.sample config.json `
36
+ Run application
37
+ ` $ fig up `
38
+
39
+
40
+ Mysql
41
+ http://localhost:81/phpmyadmin
42
+
43
+ Node
44
+ http://localhost
45
+ terminal: ` $ docker-enter docker_node_1 `
You can’t perform that action at this time.
0 commit comments