Skip to main content

The Terra API

Project description

This is the Terra API.

Requirements

On Ubuntu, do not use the system packages, which are too old.

Usage

First launch

Create a docker.env file:

  • mv docker.env.dist docker.env
  • Edit the settings

Build Container

docker-compose build

Running the project

docker-compose up

docker-compose down

docker-compose up (postgres image)

Running tests

docker-compose exec django bash

django@container_id:/code$ source venv/bin/activate

(venv) django@353cfc271a48:/code$ tox (global)

(venv) django@353cfc271a48:/code$ tox terracommon.terra (pour terra)

Applying Django migrations

docker-compose run --rm django /code/venv/bin/python3.6 ./manage.py migrate

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

terra-common-0.2.6.tar.gz (79.4 kB view details)

Uploaded Source

Built Distribution

terra_common-0.2.6-py3-none-any.whl (141.2 kB view details)

Uploaded Python 3

File details

Details for the file terra-common-0.2.6.tar.gz.

File metadata

  • Download URL: terra-common-0.2.6.tar.gz
  • Upload date:
  • Size: 79.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.9

File hashes

Hashes for terra-common-0.2.6.tar.gz
Algorithm Hash digest
SHA256 c1ff8fb555020f1194d387f1994cff9173005ea222f1c1079fed7e8937bbd9c4
MD5 b31278a1caacc0339f527a738cfff033
BLAKE2b-256 ea2828f1cd0f84636d5bcd29c25951d0be659b5de891027d498e61187c21ff2f

See more details on using hashes here.

File details

Details for the file terra_common-0.2.6-py3-none-any.whl.

File metadata

  • Download URL: terra_common-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 141.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.9

File hashes

Hashes for terra_common-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 5e9c3cee949bbf0e63d432f2c441eca86beb289ee6e58b7e07c31f924c77ef6e
MD5 018166c06597992325f290f70a1be3e3
BLAKE2b-256 9c5ab5cdc21bdcaba5bf6fe85167caa74e72d7e61dacf3f7c3ac47036ad9e56e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page