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.4.tar.gz (79.4 kB view details)

Uploaded Source

Built Distribution

terra_common-0.2.4-py3-none-any.whl (141.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for terra-common-0.2.4.tar.gz
Algorithm Hash digest
SHA256 b3ec29875b13cd4765563cee8089ac9220ef4b27ba86b946f30bb79443fd9ef1
MD5 74f7d76d63b98fee5c09587cde8478cd
BLAKE2b-256 7eb7cb6ab829d1ed6427d2bf643bd7e72df4b238b1a828ba450c44daa82d75b3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for terra_common-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7b697a9e185644d3fedccd6eac0f29adc708c0597f793cf22eee55b003e52a50
MD5 4f69a104218f70e2543820ff683fc5f3
BLAKE2b-256 0d39280424150fb6b25be058ad857ec6b78fbcb64fb5ea801b6cf6f770088c39

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