forked from writerstrail/writerstrail-legacy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
start.sh-example
executable file
·28 lines (28 loc) · 1.23 KB
/
start.sh-example
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
#!/bin/sh
TZ='UTC' \
OPENSHIFT_NODEJS_PORT='8080' \
OPENSHIFT_NODEJS_IP='127.0.0.1' \
OPENSHIFT_MYSQL_DB_HOST='127.0.0.1' \
OPENSHIFT_MYSQL_DB_PORT='3306' \
OPENSHIFT_MYSQL_DB_USERNAME='writerstrail' \
OPENSHIFT_MYSQL_DB_PASSWORD='pass' \
OPENSHIFT_MYSQL_DB_DATABASENAME='writerstrail' \
OPENSHIFT_GEAR_NAME='writerstrail' \
WRITERSTRAIL_SESSION_SECRET='whatevercauseitslocal' \
WRITERSTRAIL_FACEBOOK_ID='FBID' \
WRITERSTRAIL_FACEBOOK_SECRET='FBSSECRET' \
WRITERSTRAIL_FACEBOOK_CALLBACK='http://localhost:8080/auth/facebook/callback' \
WRITERSTRAIL_GOOGLE_ID='GOOGLEID' \
WRITERSTRAIL_GOOGLE_SECRET='GOOGLESECRET' \
WRITERSTRAIL_GOOGLE_CALLBACK='http://localhost:8080/auth/google/callback' \
WRITERSTRAIL_LINKEDIN_ID='LINKEDINID' \
WRITERSTRAIL_LINKEDIN_SECRET='LINKEDINSECRET' \
WRITERSTRAIL_LINKEDIN_CALLBACK='http://localhost:8080/auth/linkedin/callback' \
WRITERSTRAIL_WORDPRESS_ID='WPID' \
WRITERSTRAIL_WORDPRESS_SECRET='WPSECRET' \
WRITERSTRAIL_WORDPRESS_CALLBACK='http://localhost:8080/auth/wordpress/callback' \
WRITERSTRAIL_SENDGRID_USER='SENDGRIDUSER' \
WRITERSTRAIL_SENDGRID_KEY='SENDGRIDPASS' \
WRITERSTRAIL_BASE_URL='http://localhost:8080' \
WRITERSTRAIL_DATABASE_URL='mysql://writerstrail:[email protected]/writerstrail' \
node server.js