most of these require logout/restart to take effect
# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false
# Set a shorter Delay until key repeat
""" | |
This fabric file makes setting up and deploying a django application much | |
easier, but it does make a few assumptions. Namely that you're using Git, | |
Apache and mod_wsgi and your using Debian or Ubuntu. Also you should have | |
Django installed on your local machine and SSH installed on both the local | |
machine and any servers you want to deploy to. | |
_note that I've used the name project_name throughout this example. Replace | |
this with whatever your project is called._ |
#!/bin/sh | |
# place in {repo}/.git/hooks/update | |
# chmod +x update | |
name="$1" | |
old="$2" | |
new="$3" | |
user_name=$(git log -1 --pretty=format:%aN $new) | |
#branch=$(git rev-parse --symbolic --abbrev-ref $1) | |
branch=${name#refs/heads/} |
echo ">>> Starting install script" | |
sudo yum -y update | |
echo ">>> Installing Apache, MySQL and PHP" | |
sudo rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm | |
sudo yum install -y nano git-core httpd php55w php55w-common php55w-mysql php55w-mcrypt php55w-gd | |
sudo yum install -y yum-plugin-replace | |
sudo yum replace -y mysql-libs --replace-with mysql55w-libs | |
sudo yum install -y mysql55w mysql55w-server |
NOTE: Pytorch3d no longer has to be compiled i have stripped out the function we use to make this a lot easier and also so we do not have to use WSL2 with linux and can now run directly on your windows system.
Comments section is not checked often for issues please join the disco diffusion discord for assistance
You may now use the official disco diffusion notebook with this tutorial as it has been uodated to reflect the changes here for better cross platform support