N
N
neuroepoc2018-02-27 20:37:18
Python
neuroepoc, 2018-02-27 20:37:18

Which model to choose for a convenient "life cycle" of the code?

Good day.
I don't know the right term to describe a set of resources, programs, services, and the relationships between them.
I program in python in sublime text from which I save scripts with a key combination in github gist. Gist-because I didn’t get to serious projects and all projects in one or two files, and also because version control is needed. I'm currently choosing paas (free, for kids, with the ability to query outside) to run code in the cloud.
The question is how to make it so that when working at my home computer in sublime, I do not have to make unnecessary movements so that the actual code appears in the cloud, evaluate and correct its work.
Previously used pythonanywhere. And the process was like this - I write the code, debug it on the computer, open the pythonanywhere site, upload the script file, run it, check it. If so, repeat the process. (in pythonanywhere it is impossible to make requests outside, therefore I am looking for others)
I am looking for a classic (or general, regardless of which paas I choose), simple, or beautiful solution.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg, 2018-02-28
@neuroepoc

I don't know the right term to describe a set of resources, programs, services, and the relationships between them.

This is generally called Continuous Integration (CI)
In the Sublime part, this is solved by setting up a script that runs every time the project is saved. There are plugins for such settings.
Each PaaS typically has its own set of application deployment tools. The most universal solution will be to set up push to the repository in your IDE, and integration in PaaS so that it takes the code from this repository and updates the service. This is supported by many services.
The simplest solution for a layman would be the following. After you understand a specific PaaS, type in the necessary commands for deploying an application in this specific PaaS into a 1-simple script (bat file or macro in Sublime / IDE) and run this script.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question