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
terra-common-0.3.4.tar.gz
(23.4 kB
view details)
Built Distribution
File details
Details for the file terra-common-0.3.4.tar.gz
.
File metadata
- Download URL: terra-common-0.3.4.tar.gz
- Upload date:
- Size: 23.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07647984a179685a00ad020d6b3a3ec3eb1c23dcac9b3deb016afea944c8bc45 |
|
MD5 | 10f06ca666f38e4114128dacf926810d |
|
BLAKE2b-256 | d39b47a5ecacb878a244d49b2ab4ed6ecadc0bac7c54cb0fc3c5e17fc6d6cb63 |
File details
Details for the file terra_common-0.3.4-py3-none-any.whl
.
File metadata
- Download URL: terra_common-0.3.4-py3-none-any.whl
- Upload date:
- Size: 47.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 | 7033d2c644ebac9911688526a4a0f4a079ff1f494e8abc418ac8d62a03c0035f |
|
MD5 | 3c3a6a4c85ea636cc185691260bda1dc |
|
BLAKE2b-256 | c7f28ff60bebd4f6ce39ff167cd055f99828eac3339d6db8a949d85ed87f6ed1 |