blob: 6546e4a60cd3bfc641186d5c7f0043cfdc522aca [file] [log] [blame]
# Copyright 2020 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# ./scripts/local/
FINDMISSING_DIR="$(cd $(dirname $0)/../..; pwd)"
sudo apt-get update && sudo apt-get install google-cloud-sdk \
python3-venv libmariadbclient-dev python3-dev
sudo wget \
-O /usr/local/bin/cloud_sql_proxy
sudo chmod +x /usr/local/bin/cloud_sql_proxy
# Required for cloud_sql_proxy
# (
gcloud auth login
# Creates env in findmissing top level directory
python3 -m venv env
# Activate so requirements can be installed in virtual env
source env/bin/activate
# pip install requirements line by line
pip install -q $(cat requirements.txt)