Skip to content

Commit

Permalink
Merge pull request #20 from MentorMate/feature/ebctn-491
Browse files Browse the repository at this point in the history
Feature/ebctn 491
  • Loading branch information
alexandermentormate authored May 17, 2024
2 parents 1a11a4c + 3084f9d commit 5d0d997
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 🐍 + 📦 => PyPI
name: 🐍 + 📦

on:
workflow_run:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ name: Tests
on:
push:
branches:
- 'development'
- 'main'
pull_request:
branches:
- 'development'
- 'main'

jobs:
Expand Down
27 changes: 19 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,35 @@ This is a python-cli tool for interactive project setup, following best practice
In order to assure easier distribution, the project is deployed as **pypi** package.
For optimal maintenance the project utilizes the **tox** framework.

## Installation
We use `pip` for our package distribution, that's why we recomend that you use virtual environment for the package instalation (`venv` or `poetr`).
# Installation
We use `pip` for our package distribution, that's why we recommend that you use a virtual environment for the package installation (`venv` or `poetry`).
```bash
(env) pip install python-project-cli
pip install python-project-cli
```

## Commands
- `python-cli generate` - starts interactive project generation, that uses cookiecutter.
- `python-cli status` - shows the framework repo status. We aim to update the main templates frequently, in order to keep up with the everevolving "best" practices, that's why there's a chance for a repo downtime.
- `python-cli version` - project version.
1. **generate**s a new project in interactive mode, usesing `cookiecutter`.
```bash
python-cli generate
```

2. Shows the framework repo **status**. We aim to update the main templates frequently, in order to keep up with the everevolving "best" practices, that's why there's a chance for a repo downtime.
```bash
python-cli status
```

3. Project's **version**.
```bash
python-cli version
```
### Frameworks
- Django
- FastAPI

### Project Maintenance (Internal)
[Confluence link](https://mentormate.atlassian.net/wiki/spaces/MMSDLC/pages/4325900953/Python+CLI+documentation)
## License

PYTHON-PROJECT-CLI is unlicensed, as found in the
[LICENSE](https://github.com/MentorMate/python-project-cli/blob/development/LICENSE) file.
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ version_variables = [
upload_to_pypi = true
build_command = "pip install poetry && poetry build"

[tool.semantic_release.branches.development]
match = "development"

[tool.semantic_release.branches.main]
match = "main"

Expand Down

0 comments on commit 5d0d997

Please sign in to comment.