Skip to main content

The opensource modules from the commercial IEVV Django framework.

Project description

ievv_opensource

Develop

Requires:

Use conventional commits for GIT commit messages

See https://www.conventionalcommits.org/en/v1.0.0/. You can use this git commit message format in many different ways, but the easiest is:

Install hatch and commitizen

NOTE: You only need hatch if you need to build releases, and you only need commitizen for releases OR to make it easy to follow conventional commits for your commit messages (see Use conventional commits for GIT commit messages above).

First install pipx with:

$ brew install pipx
$ pipx ensurepath

Then install hatch and commitizen:

$ pipx install hatch 
$ pipx install commitizen

See https://github.com/pypa/pipx, https://hatch.pypa.io/latest/install/ and https://commitizen-tools.github.io/commitizen/ for more install alternatives if needed, but we really recommend using pipx since that is isolated.

Install development dependencies

Install a local python version with pyenv:

$ pyenv install 3.10
$ pyenv local 3.10

Install dependencies in a virtualenv:

$ python -m venv .venv
$ source .venv/bin/activate
$ pip install ".[dev,optional]"

Run postgres and redis

$ docker-compose up

Run dev server

$ source .venv/bin/activate   # enable virtualenv
$ ievv devrun

Run tests

$ source .venv/bin/activate   # enable virtualenv
$ pytest

Destroy postgres and redis

$ docker-compose down -v

Documentation

http://ievv-opensource.readthedocs.org/

How to release ievv_opensource

Release (create changelog, increment version, commit and tag the change) with:

$ cz bump
$ git push && git push --tags

NOTE:

  • cz bump only works if conventional commits (see section about that above) is used.
  • cz bump can take a specific version etc, but it automatically select the correct version if conventional commits has been used correctly. See https://commitizen-tools.github.io/commitizen/.
  • The cz command comes from commitizen (install documented above).

Release to pypi:

$ hatch build -t sdist
$ hatch publish
$ rm dist/*              # optional cleanup

Project details


Release history Release notifications | RSS feed

This version

9.1.3

Download files

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

Source Distribution

ievv_opensource-9.1.3.tar.gz (123.5 kB view details)

Uploaded Source

File details

Details for the file ievv_opensource-9.1.3.tar.gz.

File metadata

  • Download URL: ievv_opensource-9.1.3.tar.gz
  • Upload date:
  • Size: 123.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.23.3

File hashes

Hashes for ievv_opensource-9.1.3.tar.gz
Algorithm Hash digest
SHA256 0688a26e5c82e649e0a474d5dd1f5e32b8547eab5f8de6fb039034d007975e7f
MD5 820aa3f3329d811b664358eb83ad14fc
BLAKE2b-256 b2cd29831d348a76e3ab1fe6d7c63c68040478d1368167faa66bb2e770bce664

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