Improve setup (#37075)

This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2020-06-25 11:34:47 -07:00
1 parent 25b093e69e
commit 4aedafc73a
2 files changed
+19 -3

No files matched your search

+17 -2
View File
@@ -1,11 +1,26 @@
#!/bin/sh
#!/bin/bash
# Setups the repository.
# Stop on errors
set -e
cd "$(dirname "$0")/.."
mkdir -p config
python3 -m venv venv
source venv/bin/activate
script/bootstrap
pre-commit install
pip install -e .
pip install -e . --constraint homeassistant/package_constraints.txt
hass --script ensure_config -c config
echo "
logger:
default: info
logs:
homeassistant.components.cloud: debug
" >> config/configuration.yaml