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

Build piston from scratch - how to install runtimes? #657

Open
rizal-rovins opened this issue May 3, 2024 · 2 comments
Open

Build piston from scratch - how to install runtimes? #657

rizal-rovins opened this issue May 3, 2024 · 2 comments

Comments

@rizal-rovins
Copy link

Hey guys,
I'm trying to build piston from scratch , my purpose is to make some modifications and install additional libraries.

  1. I first clone the repo,
  2. install the dependencies : cd cli && npm i && cd -
  3. Start the build : ./piston start
  4. I can see now that my server is running but it has no runtimes.
  5. cli/index.js ppman list > when i run this , it returns empty
  6. cli/index.js ppman install python > when i run this , Requested package python-* does not exist

I'm not able to install any packages, what am i missing here?

@rizal-rovins
Copy link
Author

Okay, I figured it out.
I had to build packages first using :
./piston build-pkg python 3.9.4

@Brikaa
Copy link
Member

Brikaa commented May 3, 2024

You can do ./piston select prod to run on the production environment and you wouldn't need to build the packages. You would just install them.

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

No branches or pull requests

2 participants