https://github.com/schmichael/django-nomadrepo
Demo app
https://github.com/schmichael/django-nomadrepo
Last synced: about 1 year ago
JSON representation
Demo app
- Host: GitHub
- URL: https://github.com/schmichael/django-nomadrepo
- Owner: schmichael
- License: mpl-2.0
- Created: 2021-03-05T22:59:17.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-11-27T02:31:59.000Z (over 4 years ago)
- Last Synced: 2025-01-26T00:13:09.150Z (over 1 year ago)
- Language: HCL
- Size: 31.3 KB
- Stars: 46
- Watchers: 3
- Forks: 23
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nomad Job Repo in Django
Just a demo app.
See `nomadrepo.nomad` for the Nomad jobspec.
If you have an AWS account, run `terraform` in the `terraform/env/us-east`
directory.
## Local Development
```
docker run --name nomadrepo -e POSTGRES_PASSWORD=nomadrepo9000 -p 5432:5432 -d postgres:13
PGPASSWORD=nomadrepo9000 psql -h localhost -U postgres -c 'CREATE DATABASE nomadrepo'
# Assuming a local checkout of this repo in a venv
cd nomadrepo
python manage.py migrate
python manage.py runserver
```