A
A
Alexander2015-08-06 12:04:36
git
Alexander, 2015-08-06 12:04:36

How to speed up the process of adding functionality to the site?

Hello, I would like to somehow quickly upload updated files, update the project, add new features.
There is a git, a repository on bitbucket has been created, I am programming in phpStorm, I installed a plugin for bitbucket, I wonder if it is possible to make phpstorm see changes in the system and update these files upon request, and also added functionality, pressed the button sent to the site.
And is it possible to do this without bitbucket ? if I work alone on a project

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry Entelis, 2015-08-06
@Dil0ng

one.

so that phpstorm sees changes in the system and updates these files on request

didn't understand. in what system?
on the server and downloaded to local? What for? Read about hg-flow (aka git-flow): You are developing a task in a separate branch. until it is finished - you don't care what happens in the rest of the system.
or naborot what would be autocommit? So it is quite harmful. Scripts are saved several times a minute, and a commit is a meaningful action, with a description of what it is.
2.
also added functionality, pressed the button sent to the site.

install any auto-deploy system on the server. There is PHPCI https://www.phptesting.org/ , you can write your simple one in an evening. Set up hooks from the repository on it and that's it - everything is laid out by itself

6
65536, 2015-08-06
@65536

bitbucket, phpstorm. yes, nice names. but you still have to learn git

T
TyzhSysAdmin, 2015-08-06
@POS_troi

I will supplement the answer by Dmitry Entelis
Once upon a time I came across a deployment script from GitLab (I don’t see any problems with github, etc.) using hooks from Anton Suprun.
Now I googled popel-studio.com/blog/article/avtomaticheskoe-razv...
The solution is not ideal, but for simple tasks and for starting "doping" it is quite suitable.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question