https://github.com/diggerhq/cli
https://github.com/diggerhq/cli
aws docker fargate
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/diggerhq/cli
- Owner: diggerhq
- License: gpl-3.0
- Created: 2020-10-26T14:09:22.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-09-06T18:48:51.000Z (about 3 years ago)
- Last Synced: 2025-05-07T19:57:57.260Z (5 months ago)
- Topics: aws, docker, fargate
- Language: Python
- Homepage: https://digger.dev
- Size: 685 KB
- Stars: 11
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## Installation (development)
- add an entry in your /etc/hosts to point digger.local -> 127.0.0.1
- create virtualenv with python version > 3.7
- `cp env/.env.example env/.env`
- update endpoint in env/.env file to `https://digger.local:8000`
- pip install -r requirements.txt
- pip install --editable .
- now test with `dg` -- you should see a help screen
- start from a blank folder## Releasing
### On host:
- create a virtualenv for packaging
- pip install -r requirements.txt
- pip insall pyinstaller
- ` pyinstaller dg.spec`
- The released binary will be in dist/ folder### Using docker:
- docker build -t dg-release-debian -f docker/Dockerfile-release.debian .
- docker run -it -v $PWD/dist:/dist dg-release-debian
- The resulting binary will be in the dist/ folder, you can modify this by changing the first argument to `-v`### With github actions:
Any tag which starts with vxxx will be built for linux and malk
A corresponding release will be created. In the releases tab https://github.com/diggerhq/cli/releases
You can download the release and upload to a pulic s3 bucket (we deploy to digger-releases/linux and digger-releases/darwin).
Update [homebrew](https://github.com/diggerhq/homebrew-tap/blob/master/Formula/dg.rb) and [notion page](https://www.notion.so/Quick-Start-deploy-a-service-d55adaf6bcb84399a3ab0633b19a2a45) with latest links