Setting up a private PyPi Server
Hey there!
I am using this GitHub repo:
https://github.com/pypiserver/pypiserver
for setting up a dedicated PyPi server so I can host my own packages and VSC to get around hosting them on the official PyPi servers. I get the Volume error:
Has anyone got some advice or guidance on trying to achieve this goal with Railway?
GitHub
GitHub - pypiserver/pypiserver: Minimal PyPI server for uploading &...
Minimal PyPI server for uploading & downloading packages with pip/easy_install - pypiserver/pypiserver
Solution:Jump to solution
you would need to remove line 77 from the Dockerfile, then manually mount a volume to that location
8 Replies
Project ID:
e4bd86d5-aea6-4014-aca0-594c68697400
e4bd86d5-aea6-4014-aca0-594c68697400
Solution
you would need to remove line 77 from the Dockerfile, then manually mount a volume to that location
I will attempt this now and get back to you! Thank you :)
Okay so I think that's worked... thank you so much! Just a quick little extra question, what would you recommend as the best way of uploading files to the volume? Would I just use some TCP proxy or is there a better way of getting files into Railway volumes?
its a bit of a dance, the service itself would need to provide upload functionality so you would need to juggle the volume between your desired service and the filebrowser template
I don't think PyPi comes with a built-in file upload system/online browser so would it make sense to build a simple one say in Django or Flask and upload my packages through that into the Volume? That will cause PyPi server to detect a new package and thus allow the package for download?
as mentioned, use the filebrowser template https://railway.app/template/Nan7Bs
Ah my apologies! I didn't know there was a template, okay this could definitely work :)