Open hmasdev opened 2 years ago
the docker is just a wrapper for running the python code, I don’t see a reason why you cant run the python files without docker. (after installing the required dependencies )
This is basically written as a PR without the PR :-)
Happy to add pipenv with a PR as I tend to utilise Docker for separation of concerns.
I want to use vscodeoffline on Windows 10 where I cannot use
docker-compose
butpipenv
. I think this is an important issue, because I guess that not a few organizations prohibit using docker on Windows.How do you think about it?
The followings are what I expect and a rough roadmap to the goal.
Excpected behavior
pipenv run vscsync
runs vscsync as an alternative todocker-compose up vscsync
andpipenv run vscgallery
runs vscgallery as an alternative todocker-compose up vscgallery
.Roadmap
find an alternative library for Windows to
gunicorn
, which is a WSGI HTTP Server for UNIX;update
.gitignore
in order to ignorePipfile.lock
;add Pipfile and
.env
as follows:and
modify some hard-coded paths in ./vscoffline/server.py and ./vscoffline/vsc.py. For example, https://github.com/LOLINTERNETZ/vscodeoffline/blob/39d80f328b5ca12abb31b8b3374a662475ff0327/vscoffline/vsc.py#L16-L20 https://github.com/LOLINTERNETZ/vscodeoffline/blob/39d80f328b5ca12abb31b8b3374a662475ff0327/vscoffline/server.py#L411 https://github.com/LOLINTERNETZ/vscodeoffline/blob/39d80f328b5ca12abb31b8b3374a662475ff0327/vscoffline/server.py#L422 https://github.com/LOLINTERNETZ/vscodeoffline/blob/39d80f328b5ca12abb31b8b3374a662475ff0327/vscoffline/server.py#L350 https://github.com/LOLINTERNETZ/vscodeoffline/blob/39d80f328b5ca12abb31b8b3374a662475ff0327/vscoffline/server.py#L367
test the above changes.