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 hashes)
Built Distribution
Close
Hashes for terra_common-0.3.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7033d2c644ebac9911688526a4a0f4a079ff1f494e8abc418ac8d62a03c0035f |
|
MD5 | 3c3a6a4c85ea636cc185691260bda1dc |
|
BLAKE2b-256 | c7f28ff60bebd4f6ce39ff167cd055f99828eac3339d6db8a949d85ed87f6ed1 |