forked from gcollazo/Fabulous
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fabulous_conf.py
72 lines (48 loc) · 2.13 KB
/
fabulous_conf.py
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
import os.path
fabconf = {}
# Do not edit
fabconf['FABULOUS_PATH'] = os.path.dirname(__file__)
# Username for connecting to EC2 instaces
fabconf['SERVER_USERNAME'] = "ubuntu"
# Full local path for .ssh
fabconf['SSH_PATH'] = "/path/to/.ssh"
# Name of the private key file you use to connect to EC2 instances
fabconf['EC2_KEY_NAME'] = "key.pem"
# Don't edit. Full path of the ssh key you use to connect to EC2 instances
fabconf['SSH_PRIVATE_KEY_PATH'] = '%s/%s' % (fabconf['SSH_PATH'], fabconf['EC2_KEY_NAME'])
# Project name: polls
fabconf['PROJECT_NAME'] = "CoraCoveGlobal"
# Where to install apps
fabconf['APPS_DIR'] = "/home/%s/webapps" % fabconf['SERVER_USERNAME']
# Where you want your project installed: /APPS_DIR/PROJECT_NAME
fabconf['PROJECT_PATH'] = "%s/%s" % (fabconf['APPS_DIR'], fabconf['PROJECT_NAME'])
# App domains
fabconf['DOMAINS'] = "example.com www.example.com"
# Path for virtualenvs
fabconf['VIRTUALENV_DIR'] = "/home/%s/.virtualenvs" % fabconf['SERVER_USERNAME']
# Email for the server admin
fabconf['ADMIN_EMAIL'] = "webmaster@localhost"
# Git username for the server
fabconf['GIT_USERNAME'] = "Server"
# Name of the private key file used for github deployments
fabconf['GITHUB_DEPLOY_KEY_NAME'] = "github"
# Don't edit. Local path for deployment key you use for github
fabconf['GITHUB_DEPLOY_KEY_PATH'] = "%s/%s" % (fabconf['SSH_PATH'], fabconf['GITHUB_DEPLOY_KEY_NAME'])
# Path to the repo of the application you want to install
fabconf['GITHUB_REPO'] = "[email protected]:sureshvv/CoraCoveGlobal.git"
# Virtualenv activate command
fabconf['ACTIVATE'] = "source /home/%s/.virtualenvs/%s/bin/activate" % (fabconf['SERVER_USERNAME'], fabconf['PROJECT_NAME'])
# Name tag for your server instance on EC2
fabconf['INSTANCE_NAME_TAG'] = "AppServer"
# EC2 key. http://24v.co/j5ImEZ
ec2_key = ''
# EC2 secret. http://24v.co/j5ImEZ
ec2_secret = ''
# AMI name. http://24v.co/liLKxj
ec2_amis = ['ami-1335f37a']
# Name of the keypair you use in EC2. http://24v.co/ldw0HZ
ec2_keypair = ''
# Name of the security group. http://24v.co/kl0Jyn
ec2_secgroups = ['']
# API Name of instance type. http://24v.co/mkWvpn
ec2_instancetype = 't1.micro'