Last active
August 27, 2016 20:46
-
-
Save ttu/3fb4c9de2af26b6e40ee71bc3dc3269d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install packages | |
apt-get update | |
apt-get install -y git rsync python3-dev python3-pip vim libffi-dev libssl-dev | |
# If using hyper-v change resolution | |
sudo vim /etc/default/grub | |
# change this line GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:1600x900" | |
sudo update-grub | |
reboot | |
pip3 install --upgrade virtualenv | |
pip3 install --upgrade pip3 | |
pip3 install pep8 | |
# Get Home-Assitant | |
git clone https://github.com/ttu/home-assistant.git | |
cd home-assistant | |
git remote add upstream https://github.com/home-assistant/home-assistant.git | |
# Setup dev environment | |
virtualenv ~/venv | |
source ~/venv/bin/activate | |
pip3 install --upgrade tox | |
script/setup | |
ln -s /root/venv/bin/hass /usr/bin/hass | |
# Setup VS Code | |
# Set to user settings | |
"python.linting.pep8Enabled": true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment