Giter VIP home page Giter VIP logo

Tesselo

Copyright (c) 2021 Space Mosaic Lda

Docker

The Tesselo docker image is a python 3.6 based image that is stripped down and resembles the AWS Lambda environment. The worker docker instance is more heavy and contains libraries that are not used for the web app (such as scipy, sen2cor, etc).

Zappa create superuser

zappa invoke dev "printf \"from django.contrib.auth.models import User; User.objects.create_superuser('daniel2', '[email protected]', 'adminpass')\" | python manage.py shell" --raw

or alternatively

zappa invoke dev "from django.contrib.auth.models import User; User.objects.create_superuser('daniel2', '[email protected]', 'adminpass')" --raw

Casperjs install on ubuntu

sudo npm install -g [email protected] --unsafe-perm
sudo npm install casperjs

Zappa envents disabled

Zappa can not handle the sentinel topic subscriptions because the events are not owned by Tesselo, which raises permissions errors on boto3.

The following events are currently active, but not anymore managed by Zappa until the events are put back into the config file.

"keep_warm": true,
"events": [
  {
    "function": "apps.sentinel.tasks.push_scheduled_composite_builds",
    "expression": "cron(0 12 ? * MON-SUN *)"
  },
  {
    "function": "apps.sentinel.tasks.process_sentinel_sns_message",
    "event_source": {
      "arn": "arn:aws:sns:eu-west-1:214830741341:NewSentinel2Product",
      "events": [
        "sns:Publish"
      ]
    }
  },
  {
    "function": "apps.sentinel_1.tasks.process_sentinel_sns_message",
    "event_source": {
      "arn": "arn:aws:sns:eu-central-1:214830741341:SentinelS1L1C",
      "events": [
        "sns:Publish"
      ]
    }
  }
]

Docker setup

Location of docker files: /etc/docker/daemon.json

Tesselo's Projects

cognito-at-edge icon cognito-at-edge

Serverless authentication solution to protect your website or Amplify application

giges icon giges

The one hundred arms giant in charge of Tesselo integrations

rasterio icon rasterio

Rasterio reads and writes geospatial raster datasets

stac-browser icon stac-browser

A full-fledged UI for browsing static STAC catalogs and STAC APIs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.