Skip to content

Commit

Permalink
Merge pull request #3 from appsembler/jazzar/vanilla-setup
Browse files Browse the repository at this point in the history
Vanilla Setup
  • Loading branch information
iamjazzar authored Oct 31, 2019
2 parents 0f9e362 + 84e02b6 commit 5d61f5d
Show file tree
Hide file tree
Showing 12 changed files with 428 additions and 287 deletions.
38 changes: 26 additions & 12 deletions .env
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# A key that has access to your edx-platform Github repos and to the GCP project you want to deploy the devstack in.
# (PLEASE CHANGE) A key that has access to your edx-platform Github repos and to the GCP project you want to deploy the devstack in.
SSH_KEY="$(HOME)/.ssh/id_rsa"

# DON'T CHANGE: This is the project where the your instance will be created.
# (PLEASE CHANGE) This is the project where the your instance will be created.
PROJECT_ID="your-gcp-project-id"

# This will be used while SSHing into your remote machine. Usually matches the one in the SSH Key.
Expand All @@ -16,13 +16,13 @@ INSTANCE_NAME=$(USER)-at-$(subst .,-,$(HOST_NAME))
# The name of the image on GCP if you are going to create one.
IMAGE_NAME=devstack-$(INSTANCE_NAME)

# DON'T CHANGE: A unique tag for your GCP instance.
# (DON'T CHANGE) A unique tag for your GCP instance.
INSTANCE_TAG=devstack-$(INSTANCE_NAME)

# DON'T CHANGE: The name of the deny rule on GCP firewall.
# (DON'T CHANGE) The name of the deny rule on GCP firewall.
DENY_FIREWALL=deny-$(INSTANCE_NAME)-webserver-access

# DON'T CHANGE: The name of the allow rule on GCP firewall.
# (DON'T CHANGE) The name of the allow rule on GCP firewall.
ALLOW_FIREWALL=allow-$(INSTANCE_NAME)-webserver-access

# The size of the disk your instance is going to use in GB. We don't recommend it to be less than 50.
Expand All @@ -43,26 +43,40 @@ TMP_DIR=~/.devstack
# The mount location.
MOUNT_DIR=$(TMP_DIR)/mnt/

# DON'T CHANGE: The hosts file location. You can change it for test purposes.
# (DON'T CHANGE) The hosts file location. You can change it for test purposes.
HOSTS_FILE=/etc/hosts

# The host name you are going to use to access Tahoe (i.e. http://$(TAHOE_HOST_NAME):19000).
TAHOE_HOST_NAME=tahoe
# A comma-separated list of hostnames you'd like to use.
EDX_HOST_NAMES=edx.devstack.lms

# Verbosity of GCloud commands we are running. Options [debug, info, warning, error, critical, none]
VERBOSITY=critical

# The location the toolkit is directing Ansible output to. To unhide it use `/dev/tty` instead.
ANSIBLE_OUTPUT=/dev/null
SHELL_OUTPUT=/dev/null

HOME_DIR=/home/$(USER_NAME)

# The location of devstack on the remote machine
DEVSTACK_WORK_DIR=~/workspace
DEVSTACK_WORK_DIR=$(HOME_DIR)/workspace

# Devstack image family
IMAGE_FAMILY=devstack

# This is the service account's email address that is provisioned during creation or granted to you by an admin.
# (PLEASE CHANGE) This is the service account's email address that is provisioned during creation or granted to you by an admin.
SERVICE_ACCOUNT_EMAIL=[email protected]

# The downloaded JSON file key of your GCP project.
# (PLEASE CHANGE) The downloaded JSON file key of your GCP project.
SERVICE_KEY_PATH=/path/to/service/account.json

# The devstack repository URL. Change this if you want to use another clone.
DEVSTACK_REPO_URL=https://github.com/edx/devstack.git

# The devstack branch you want to deploy.
DEVSTACK_REPO_BRANCH=master

# The command that runs all of your devstack services (LMS, Studio, ...) Change it if you have a custom one.
DEVSTACK_RUN_COMMAND=dev.up

# Whether to deny all IPs (except yours) from accessing your instance or not.
RESTRICT_INSTANCE=true
Loading

0 comments on commit 5d61f5d

Please sign in to comment.