summaryrefslogtreecommitdiff
path: root/topics/starting_gn1.gmi
blob: 3a70adde99b569fd68c6702a146091d3d3368790 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Starting GN1

On tux01 GN1 is running inside a Guix container.

Start a screen and run the guix deploy script. See the README file in

gn1@tux01:~/production/gnshare/gn

## Updating mariadb connection on lily

```
   restart apache in lily
   [root@lily base]# /etc/init.d/httpd restart
   Stopping httpd:                                            [  OK  ]
   Starting httpd:                                            [  OK  ]
   [root@lily base]# pwd
   /gnshare/gn/web/webqtl/base
   [root@lily base]#
   /gnshare/gn/web/webqtl/base/webqtlConfigLocal.py
   #######################################'
   #      Environment Variables - private
   #########################################
   # sql_host = '[1]tux02.uthsc.edu'
   # sql_host = '128.169.4.67'
   sql_host = '172.23.18.213'
   SERVERNAME = sql_host
   MYSQL_SERVER = sql_host
   DB_NAME = 'db_webqtl'
   DB_USER = 'x'
   DB_PASSWD = 'x'
   MYSQL_UPDSERVER = sql_host
   DB_UPDNAME = 'db_webqtl'
   DB_UPDUSER = 'x'
   DB_UPDPASSWD = 'x'
   GNROOT = '/gnshare/gn/'
   PythonPath = '/usr/bin/python'
   PIDDLE_FONT_PATH =
   '/usr/lib/python2.4/site-packages/piddle/truetypefonts/'
```

SQL may also need to be updated here:

=> /gnshare/gn/web/webqtl/base/webqtlConfigLocal.py
=> /gnshare/gn/web/infoshare/includes/config.html
=> /gnshare/gn/web/infoshare/includes/db.inc