User Tools

Site Tools


hpc:argobalsam

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
hpc:argobalsam [2015/07/23 15:04]
jchilders [Installation]
hpc:argobalsam [2016/01/26 17:56]
jchilders [Installation]
Line 89: Line 89:
   - Activate virtual environment: ''. argobalsam_env/bin/activate''   - Activate virtual environment: ''. argobalsam_env/bin/activate''
     - On Edison:     - On Edison:
-      - To use ''pip'' you need a certificate so run ''mk_pip_cabundle.sh'', then include '--cert ~/.pip/cabundle' in all your pip commands.+      - To use ''pip'' you need a certificate so run ''mk_pip_cabundle.sh'', then include ''%%--%%cert ~/.pip/cabundle'' in all your pip commands.
   - Install needed software:   - Install needed software:
     - ''pip install django''     - ''pip install django''
-      - if you have less than python-2.7 you need ''pip install django=1.6.2''+      - if you have less than python-2.7 you need ''pip install django==1.6.2''
     - ''pip install south''     - ''pip install south''
     - ''pip install pika''     - ''pip install pika''
Line 118: Line 118:
     'argo_core',     'argo_core',
 ) )
 +</code>
 +    - If you are using MySQL: <code python>
 +DATABASES = {
 +    'default': {
 +        'ENGINE': 'django.db.backends.mysql',
 +        'NAME': 'your_table_name_goes_here',
 +        'USER': 'your_login',
 +        'PASSWORD': 'your_password',
 +        'HOST': '127.0.0.1',
 +        'PORT': '',
 +        'CONN_MAX_AGE': 2000000,
 +    }
 +}
 </code> </code>
   - Sync your database:    - Sync your database: 
hpc/argobalsam.txt ยท Last modified: 2016/02/24 21:31 by jchilders