CCrypto VPN public website https://vpn.ccrypto.org/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
320 B

  1. #!/bin/bash
  2. set -e
  3. local_settings="ccvpn/local_settings.py"
  4. run_manage() {
  5. echo "> manage.py $1..."
  6. python3 manage.py "$@"
  7. }
  8. run_manage compilemessages
  9. run_manage migrate
  10. run_manage update_stripe_plans
  11. if [ -f $local_settings ] && grep "^STATIC_ROOT" $local_settings; then
  12. run_manage collectstatic
  13. fi