33 lines
944 B
Bash
33 lines
944 B
Bash
#!/bin/bash
|
|
|
|
# django project settings
|
|
export user=""
|
|
export projectname=""
|
|
export hostname=""
|
|
|
|
# MAKE SURE root HAS A DEPLOY KEY
|
|
export usegit=False
|
|
export giturl=""
|
|
export gitbranch=""
|
|
export gitkey=""
|
|
|
|
export install_epel_release=False
|
|
|
|
# general install settings
|
|
export logdir="/var/log/djangosetup/"
|
|
export yumlogloc=$logdir"yum.log"
|
|
export yumlogmsg="See $yumlogloc for more info."
|
|
export firelogloc=$logdir"firewall.log"
|
|
export firelogmsg="See $firelogloc for more info."
|
|
export pylogloc=$logdir"python.log"
|
|
export pylogmsg="See $pylogloc for more info."
|
|
export djalogloc=$logdir"django.log"
|
|
export djamsg="See $djalogloc for more info."
|
|
export gunicornlogloc=$logdir"gunicorn.log"
|
|
export nginxlogloc=$logdir"nginx.log"
|
|
export gitlogloc=$logdir"git.log"
|
|
export gitlogmsg="See $gitlogloc for more info."
|
|
|
|
# python settings
|
|
export pylink="https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tar.xz"
|
|
export pyinstalldir="/usr/src/python37" |