I made my virtualenv on my ubuntu pc machine.
and I developed my project on there.
But I need to move my environment as it is include all packages.
because the target machine can't connect outside by network.
I have to move it by usb.
do you have any recommendations?
I just copied envs directory .. and it works!
but I recommend to copy that base on platform compatibility
Related
've looked around and can't seem to find the answer to this - probably because the feature is pretty new.
I tried the remote WSL:ubuntu connection on my windows desktop machine to connect to my WSL2 Ubuntu running on the same machine. This is pretty much perfect as it allows access to my Nvidia GPU under linux
Is there anyway I can do the same trick from my macbook? I can connect to the windows side of the desktop using the new remote tunnel feature but I'm drawing a blank on how to do for the WSL buried in that machine. It looks like it's just using the same remote connection feature so I'm thinking it should be possible but WSL2 network is not exposed the same way you can with a VM or other machine.
The desktop has way more everything than my macbook including a nvidia GPU I want to use for some machine learning.
I can do it from the desktop itself - but it's nice to be able to use that machine from my macbook at certain times of day.
I have recently started using VSCode so I'm on the learning curve with it - it may well be that it's not possible using the new remote tunnels - or requires some messing with adding a new hyper-v bridged adapter to the WSL installation. I'm hoping against hope there's an easy solve that I've somehow missed.
I tried setting up the remote tunnel as per https://code.visualstudio.com/blogs/2022/12/07/remote-even-better but it seems to setup a server to access windows not the WSL2 service.
Thanks for any help!
I had a similar problem and found this github issue. While the developers are looking into including this feature, you currently will need to install the VSCode CLI directly in WSL. You can find the downloads here
Notes
I would recommend the x64 CLI download in the Linux section. It will download a tar.gz file which will have a file named code in it when extracted.
The tunnel will launch from wherever you place that code file, so I put mine in the ~/ (home) directory.
You can then open a tunnel using the command ./code tunnel from that location. You can replace the . with the path to the code file to open the tunnel while in a different directory, i.e. ~/code.
You can still launch a tunnel from Windows with code tunnel. (note that this command does not have ./)
We have need to install Eclipse on a network-isolated (on purpose) Windows machine. We can transfer files by USB, so we can physically put the Eclipse installer executable on the machine.
There is already a JDK (1.8) on the machine.
Question is, will just the installer be sufficient? Does it try to "reach out" for additional web resources?
Yes, it does require an active connection. If that's not possible, consider one of the packages at https://www.eclipse.org/downloads/packages .
I am working on a project, on a windows laptop, which is connected via RSE plugin to the linux server (can be run/tested only there).
So I have only a logical SSH link on my laptop, no actual files. Is it possible to somehow have project stored both on local and remote side? (so that both project are in sync)?
The problem is that the linux server is used for labs/experiments by other employees and its files can be removed any day. Now I'm making manual copy to my local machine at the end of each day, and it's really cumbersome.
Of course I don't have to use RSE if there is any other plugin that can satisfy my needs.
Thanks.
I'm usually developing PHP backend apps. I'm developing on Windows and use Vagrant to create virtual machine.
Workflow looks like that:
On base machine I have all my project files and I'm using git.
On base machine I have installed PhpStorm which is connected over ssh to virtual machine. PhpStorm is syncing files from base machine to local machine (in one direction)* using deployment.
Every library and module like nodejs, ruby, gulp etc. I'm installing on virtual machine to not clutter my base machine.
Debugging works fine - I can connect PhpStorm debugging over remote ssh.
Almost everything it's fine with that workflow (sometimes I have to download some generated files on virtual machine), but that workflow is not the best for working with Ionic2 and Angular.
Ionic uses many nodejs modules -> this causing many problems in PhpStorm to hinting errors and code completion. Second problem is debuging I can't connect typescript debugging from PhpStorm because all files all generated by gulp on virtual machine.
My question is:
What's is the best workflow when I want to work on windows with ionic2?
Do I have to install all libraries on Windows machine?
Should I use shared folders for that project is any possibility to hinting in PhpStorm?
base machine - on Windows
virtual machine - on Ubuntu 14 Server LTS
I can't use shared folders cause of slowly cache creating on PHP app and in general PHP apps running then very slowly, even if I moved cache folder to not shared folder on Ubuntu.
If you have Ionic CLI installed you can start new project by ionic start command. It provides you workflow with everything you can need. For example:
$ ionic start cutePuppyPics --v2 //create new project
$ cd cutePuppyPics
$ ionic serve //start server, live reload etc.
Yes, you should install it all on your non-virutal desktop, because if you want to test app on your device, it will be hard to link this device to ADB in your virtual machine.
It works very well with PhpStorm :)
Currently I'm using a virtual machine (VM) environment on my laptop (Mac) for project development (i.e. virtual machine is running in VirtualBox on my laptop).
And I just use Samba to open code folder (on VM) and then I use SubLime (on my laptop) to connect to VM, so that I can edit code files (located on VM) from my laptop.
But I found SubLime is not efficient when I want heavy debugging for Java, so I would like to use Eclipse on my laptop, to edit and debug code files located on VM.
I tried to google but didn't find useful information, could you please tell me how to use Eclipse on my laptop, to open project on virtual machine?
Thanks a lot.
you can treat your virtual machine as a remote machine, then problem is solved.
Install the "Remote System Explorer" program for Eclipse
List item
Install the package on the desired programming language
Connection to the remote server with "Remote System Explorer"
Enabling programming language perspective
Open new remote project and edit
read here: Eclipse - Connect to a remote file system