Skip to main content

The Terra API

Project description

This is the Terra API.


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


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)

Applying Django migrations

docker-compose run --rm django /code/venv/bin/python3.6 ./ 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.3.4.tar.gz (23.4 kB view hashes)

Uploaded source

Built Distribution

terra_common-0.3.4-py3-none-any.whl (47.3 kB view hashes)

Uploaded py3

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