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

Uploaded Source

Built Distribution

terra_common-0.2.2-py3-none-any.whl (140.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: terra-common-0.2.2.tar.gz
  • Upload date:
  • Size: 79.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.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.2.tar.gz
Algorithm Hash digest
SHA256 ff2e25d34c5c89767d0df768e0178a92cdf46f8465b19deec8ecffc7432d2604
MD5 e971a83f72bcef61d00e06156b8786dc
BLAKE2b-256 68751dcab99d7a24be676f122bfe7fa963f965c8e868e2eaffc7563baf958063

See more details on using hashes here.

File details

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

File metadata

  • Download URL: terra_common-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 140.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 12b51aa0a0ddf0f8914b1cb3f3cdb47cb6ac2dacfc9c7ccc0e439a9b61cbb2ab
MD5 e8d95f430b3a686e1e120af14521aa57
BLAKE2b-256 bbdc55d1dbd62b876d1617fad2bdba57fe8fbbafae7ba21c6544db624e101e8e

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