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

Add support for poetry in the startserver scripts #311

Open
Iapetus-11 opened this issue Apr 8, 2021 · 5 comments
Open

Add support for poetry in the startserver scripts #311

Iapetus-11 opened this issue Apr 8, 2021 · 5 comments
Assignees
Labels
Enhancement New feature, request, or thing

Comments

@Iapetus-11
Copy link
Member

  • We use poetry to manage dependencies cleanly, and the startserver scripts should have support for it!
@Iapetus-11 Iapetus-11 added the Enhancement New feature, request, or thing label Apr 8, 2021
@456dev
Copy link
Contributor

456dev commented Apr 8, 2021

how is it not supported?

@Iapetus-11
Copy link
Member Author

Like when attempting to run the server, add options like poetry run py pymine and poetry run python3 pymine

@456dev
Copy link
Contributor

456dev commented Apr 11, 2021

it assumes that whatever virtual enviroment thing is already activated (by default).
normally, with venv or whatevery you would source the activate file, but poetry by the loogs of it uses poetry shell?

@456dev
Copy link
Contributor

456dev commented Jun 28, 2021

i think this is out of scope of a shell script, but maybe a seperate tool could be created to assist with server creation, and lifetime (start,stop,restart), and possibly a "form" style thing for configuration.

@GDWR
Copy link

GDWR commented Feb 17, 2022

If you are looking for a tool that will allow you to create predefined commands for poetry. Have a look at Taskipy

It allows you to specify these commands under aliases and then execute them.

I may have misunderstood your question tho.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature, request, or thing
Projects
None yet
Development

No branches or pull requests

3 participants