Pycharm - Web Frameworks



This chapter focusses on web frameworks and its deployment. PyCharm has a simple functionality to deploy code and files. To deploy code with PyCharm, we need to add a web server with Menu Option Settings -> Build, Execution-> Deployment.

Deployment

Now, include all the settings with various configurations required for deployment of the project.

Configuration

In the Mappings tab, a user can specify where the local code is and where it should be copied to remotely.

Mapping

The code can be deployed using Tools -> Deployment option under the Tools menu bar.

Deployment in PyCharm is very granular: a user can deploy one single file or the whole source code.

Tools Deployment

PyCharm also includes various actions to compare remote and local versions. The editor is more reliable to use automatic deployments and a version control system to compare local and remote versions.

Advertisements