Skip to main content

A streamlined REST API for access to Git repositories

Project description

A streamlined REST API for wrapping access to Git repositories.

Running

Running

python manage.py runserver –host 0.0.0.0 –port 65004

This will run the process locally on port 65004, the –host 0.0.0.0 is there so that hosts other than localhost can access the service, omit it if this is not required.

Docker

Building

docker build -t lazy_git:latest .

This will build an image based on the official [Python 3 Docker image](https://hub.docker.com/_/python/) and defaults to setting the LAZY_GIT_MODE environment variable to Production.

Running

docker run -d -p <local_port>:65004 –name lazy_git -v <local_repo_dir>:/var/lazy_git lazy_git:latest

This command will run a lazy_git process in the background on the port specified in <local_port>. If you want to override the LAZY_GIT_MODE environment variable (or any other, such as LAZY_GIT_CONFIG) then use the [-e argument](https://docs.docker.com/engine/reference/run/#/env-environment-variables).

Project details


Release history Release notifications | RSS feed

This version

0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lazy_git-0.2.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file lazy_git-0.2.tar.gz.

File metadata

  • Download URL: lazy_git-0.2.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for lazy_git-0.2.tar.gz
Algorithm Hash digest
SHA256 2d73430007c57e5fa27719db605154c37df47fd3cfdfdc393299614c68e64e11
MD5 740726e4d6a4723994123322b9e4d993
BLAKE2b-256 8a3b07312f214ce57b22d7ea89569873d6b5c7f62244a2983c109864124f494d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page