Setting up Django with GeoDjango Support in AWS Beanstalk or EC2 Instance

前端 未结 5 2014
隐瞒了意图╮
隐瞒了意图╮ 2021-01-07 01:58

So I have at one point had this going via Beanstalk, using Amazon Instance (2013.09) ami-35792c5c . At the time this ebextension scripts worked great when placed in the root

5条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-07 02:44

    My solution to a 2017.03 image was to:

    commands:
      01_yum_update:
        command: sudo yum -y update
      02_epel_repo:
        command: sudo yum-config-manager -y --enable epel
      03_install_gdal_packages:
        command: sudo yum -y install gdal gdal-devel
    
    files:
      "/etc/httpd/conf.d/wsgihacks.conf":
        mode: "000644"
        owner: root
        group: root
        content: |
          WSGIPassAuthorization On
    
    packages:
      yum:
        git: []
        postgresql95-devel: []
        gettext: []
        libjpeg-turbo-devel: []
        libffi-devel: []
    

提交回复
热议问题