· 10 years ago · Mar 19, 2016, 05:27 PM
1#!/bin/sh
2
3# Path to the biostar code repository.
4export BIOSTAR_HOME=`pwd`
5
6# The hostname for the development server.
7export BIOSTAR_HOSTNAME="192.168.1.103:8080"
8
9# These settings create an admin user.
10# The default password is the SECRET_KEY.
11export BIOSTAR_ADMIN_NAME="Biostar Community"
12export BIOSTAR_ADMIN_EMAIL="1@lvh.me"
13export DEFAULT_FROM_EMAIL="1@lvh.me"
14
15# Secret key. Override it by sourcing a different file.
16# Default admin password.
17export SECRET_KEY='1@lvh.me'
18
19# The django module to use.
20export DJANGO_SETTINGS_MODULE=biostar.settings.base
21
22# This will be either the Sqlite or the Postgres database name.
23export DATABASE_NAME="biostar.db"
24
25# The level of verbosity for django commands.
26export VERBOSITY=1
27
28# The python executable to invoke.
29export PYTHON="python"
30
31# The django manager to run.
32export DJANGO_ADMIN=manage.py
33
34# Default data fixture.
35export JSON_DATA_FIXTURE="import/default-fixture.json.gz"
36
37# Email specific settings.
38export EMAIL_HOST='admin@lvh.me'
39export EMAIL_PORT='25'
40export EMAIL_HOST_USER='admin@lvh.me'
41export EMAIL_HOST_PASSWORD='admin@lvh.me'
42
43# Set the social authentication provider keys and secrets.
44# These are loaded into settings.SOCIALACCOUNT_PROVIDERS hash.
45# Later these are loaded in biostar.server.managment.actions.initialize
46export GOOGLE_PROVIDER_KEY='key'
47export GOOGLE_PROVIDER_SECRET_KEY='secret'
48
49export FACEBOOK_PROVIDER_KEY='key'
50export FACEBOOK_PROVIDER_SECRET_KEY='secret'
51
52export GITHUB_PROVIDER_KEY='key'
53export GITHUB_PROVIDER_SECRET_KEY='secret'
54
55export TWITTER_PROVIDER_KEY='key'
56export TWITTER_PROVIDER_SECRET_KEY='secret'
57
58export ORCID_PROVIDER_KEY='key'
59export ORCID_PROVIDER_SECRET_KEY='secret'
60
61# Variable only used during migration from Biostar 1.0.
62export BIOSTAR_MIGRATE_DIR="~/tmp/biostar-migrate"