thumbor: Add thumbor on port 9995 in development.

For now, this does nothing in a production environment, but it should
simplify the process of doing testing on the Thumbor implementation,
by integrating a lot of dependency management logic.
This commit is contained in:
Aditya Bansal
2017-11-09 21:01:57 +05:30
committed by Tim Abbott
parent bb7d21c77f
commit 0fcf0c5052
11 changed files with 849 additions and 5 deletions

View File

@@ -15,7 +15,9 @@ ZULIP_PATH = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__f
sys.path.append(ZULIP_PATH)
from scripts.lib.zulip_tools import run, subprocess_text_output, OKBLUE, ENDC, WARNING, \
get_dev_uuid_var_path
from scripts.lib.setup_venv import VENV_DEPENDENCIES
from scripts.lib.setup_venv import (
setup_virtualenv, VENV_DEPENDENCIES, THUMBOR_VENV_DEPENDENCIES
)
from scripts.lib.node_cache import setup_node_modules, NODE_MODULES_CACHE_PATH
from version import PROVISION_VERSION
@@ -128,7 +130,7 @@ UBUNTU_COMMON_APT_DEPENDENCIES = [
"curl", # Used for fetching PhantomJS as wget occasionally fails on redirects
"netcat", # Used for flushing memcached
"moreutils", # Used for sponge command
] + VENV_DEPENDENCIES
] + VENV_DEPENDENCIES + THUMBOR_VENV_DEPENDENCIES
APT_DEPENDENCIES = {
"stretch": UBUNTU_COMMON_APT_DEPENDENCIES + [