Deploying Pycharm project

Hello, 

I currently have multiple pycharm projects, with each project having multiple files that once the project is deployed should be run continuously with support files in the project being imported from these continuously run files. Due to the sheer amount of files that need to be run continuously (40+), it isn't realistic to just run these files from the pycharm console. I have another computer I wish to run these files on locally. This local computer has github and pycharm installed on it, but after voluminous googling I am completely lost as to how to proceed to deploy these projects on this local machine conforming to best practices. 

Thanks. 

1 comment
Comment actions Permalink

When deploying these projects "conforming to best practices" it really depends upon the context of the application as far as how you want to access it. 

Disclosure: I've been writing software for my own needs for 6 years and most have worked as a contractor for startups. While I have only worked in the industry briefly for a biotech firm, I bulldozed the team to get version control, unified code base, weekly deployments, database scrubbers, automated data scrubbing. A year after I left the company acquired another company and they were acquired by some M&A firm so it definitely increased the value of their data. I really wanted to triple the amount of testing but they didn't think it was needed. But we deployed projects locally, running what I believe is a normal state called running headless. We ran it headless and you had to memorize the code to scrub the data but it worked very well. Our boss was a crazy smart CIO and specifically said he would like (us, his dev team) to "work up a Django interface someday" which I read as ASAP get a Django app up and running. We had one prototyped up in a month but had to pause it because we had to refactor our code to support it. The code was a mishmash spaghetti setup that had so many issues but it needed work.

0. You might want a docker or need to understand Virtual Environments or "venv" in your preferences tab. There is a guy Joel who is crazy smart and I was pointed to him about a month after starting to code so I would recommend you read and tattoo this in your brain. https://www.cnblogs.com/likeatree/articles/4261579.html. For some people, they think that "works on my machine" is enough but I like the concept and it sounds like it might be a fit but you haven't said what you want your code to do.

1. You can run a project headless which is essentially from the terminal. You start the program and maybe you have a text-based menu like the old Zork game and it's just text on a command-line type interface. I would personally recommend you dump a windows machine as fast as you can and run Mac or Linux, there are so many cases and issues running large programs in windows that I just avoid it. Linux is free and mac supports it natively. I've got five Macs and have not had one crash in almost 7 years running code base on 14TB of data.

2. You can somehow port the code to Django, Flask, or other programs. HMMV but I'm a python fan and since you are posting on the PyCharm community form I figure you are as well.

3. The first question is what do you want to do with the program? Is this for you only, is this for your team of employees for inhouse only access, or is this going to be a web app?

Hope this helps.

0

Please sign in to leave a comment.