The Terra API
Project description
This is the Terra API.
Requirements
On Ubuntu, do not use the system packages, which are too old.
- docker-ce: https://docs.docker.com/install/linux/docker-ce/ubuntu/
- docker-compose:
sudo pip3 install docker-compose
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)
Applying Django migrations
docker-compose run --rm django /code/venv/bin/python3.6 ./manage.py migrate
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file terra-common-0.3.1.tar.gz.
File metadata
- Download URL: terra-common-0.3.1.tar.gz
- Upload date:
- Size: 38.1 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1f3fc3781ca6cc7aa1330a49db2e42cf3df364c3233e37b759ab9d0499fa4ae
|
|
| MD5 |
ca227b63d20dc8afcf4551b0b0a4329d
|
|
| BLAKE2b-256 |
757bdb664b08cd4199aed6a14c342be46738759d3b755981edb804e0ddb36810
|
File details
Details for the file terra_common-0.3.1-py3-none-any.whl.
File metadata
- Download URL: terra_common-0.3.1-py3-none-any.whl
- Upload date:
- Size: 76.3 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2194633a00dce0a3901b89fcbceb781bb3c4393d8bb2e950e08e49889de5d49
|
|
| MD5 |
98fffc7a9472f1113fff737bfb95c5a8
|
|
| BLAKE2b-256 |
150660da2b39f90b7889d6f6aef89951b724f6fee2ecccae3d874553977502fa
|