Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify instructions to run locally #302

Merged
merged 2 commits into from
Oct 6, 2023
Merged

Conversation

OrangeTux
Copy link
Contributor

Starting the python scripts using poetry run python <script> instead of python <script>. The call to poetry run already activates the virtual environment, making an explicit call to poetry shell obsolete.

Starting the python scripts using `poetry run python <script>` instead
of `python <script>`. The call to `poetry run` already activates the
virtual environment, making an explicit call to `poetry shell` obsolete.
@@ -83,11 +83,11 @@ poetry-shell:

# Run evcc with python
run-evcc:
$(shell which python) iso15118/evcc/main.py $(config)
poetry run python iso15118/evcc/main.py $(config)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had some issues in the past running it like that in a Mac.
Can someone confirm this? @mdwcrft @snorkman88

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works for me

Copy link
Contributor

@mdwcrft mdwcrft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@OrangeTux OrangeTux merged commit 69ebffa into master Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants