- Requirements:
- python3
- vagrant
- virtualbox
-
vagrant plugin install vagrant-scp
-
vagrant plugin install vagrant-digitalocean
-
pyvenv ./threepenv
-
source threepenv/bin/activate
-
pip install --upgrade pip
-
pip install -r requirements.txt
-
Set environment variables. You might add these to your
.bashrc
or.bash_profile
export DIGITALOCEAN_API_TOKEN="digitalooooocean"
export DJANGO_PROJECT_SLUG="threepanel"
export DJANGO_DEBUG="True"
export DJANGO_DOMAIN="threepanel.com"
export DJANGO_ADMIN_NAME="Curtis Lassam"
export DJANGO_ADMIN_EMAIL="curtis@lassam.net"
export MANDRILL_KEY="maaaaandriiiiiilllll"
export DJANGO_SECRET_KEY="seeeecreeeet"
export POSTGRES_DB_PASSWORD="daaaaatabaaaaaaase"
export PAPERTRAIL_SERVER="logs.papertrail.whatever:12345"
- If you're running this from a Windows computer, you might need to add
export DOS2UNIX_ENABLED="True"
- The server that threepanel.com points to is going to change a lot, so add this to your ssh config:
Host threepanel.com
StrictHostKeyChecking no
User vagrant
invoke install