If the OS needs to distribute development code to a different environment, how should I work?

Asked 2 years ago, Updated 2 years ago, 84 views

When I used Mac before, the terminal environment was the default If I had to distribute the code to a Linux server, I could run it without any problems

Now, I have to work on Windows and distribute it to Linux, so there are many times when the close version or configuration code errors.

It's frustrating because it's too slow to set up a ubuntu environment on a VM like virtualBox and run pycharm.

Is there a good way in this case?

First of all, I want to keep debugging with Python mainly using Python.

python pycharm

2022-09-20 19:44

1 Answers

You can connect to a remote server from pycharm to work.

Specifically, it means that code debugging is possible as if working locally by connecting to Ubuntu server with pycharm as ssh.

In the case of Python, it is difficult to operate by distributing only jar or war like Java because there are many c expansion modules.

Eventually, in order to create a smooth deployment environment, you must create requirements.txt to manage project dependencies and install modules using requirements.txt on the target server.


2022-09-20 19:44

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.