B
B
Bodrosh2017-08-02 17:31:58
Server equipment
Bodrosh, 2017-08-02 17:31:58

How to opt out of developing on a local server?

Hello. Tell me, how best to organize the development process on several PCs?
Previously, and even now, I still used a local server (Denver). But transferring projects is boring, a lot of time is wasted. After development on a local server, you need to upload files, database (and you still need to change the address in the database) to hosting, and so on every time after making changes. If you need to do something at home, again deploying a local server, downloading a project is not convenient. Moreover, if you give the project to other developers, it may not be clear what starts)
What logic should be for creating projects? To refuse locally the server? editing files directly on the server via ftp is not convenient, every time you save the changes. Or maybe in the development environment (php storm open the project via ftp) As I understand it, you need to dig towards git?
Let's say a project on wordpress, the server should have git, and already download it on your PCs? or use github, upload all projects to it? It is not clear how to work with the database. I heard about migration, but I still don’t understand how to organize everything better.
Need mentoring advice) who works how? Maybe something worth reading?

Answer the question

In order to leave comments, you need to log in

6 answer(s)
D
Dim, 2017-08-02
@Dek4nice

no need to give up - there are many solutions for various workflows:
PaaS solutions [Platform as a Service]
https://www.heroku.com/
https://www.cloudfoundry.org/
https://www.openshift. com/
https://kubernetes.io/
https://jelastic.com/
https://apprenda.com/
www.kelproject.com
https://bitnami.com/
https://dokkur.com/
https:/ /scorocode.ru/
BaaS solutions [Backend as a Service]
parseplatform.org
www.baasbox.com/en
https://backendless.com/
DaaS solutions [Database as a Service]
https://www.compose.io/
https :
//redislabs.com/redis4you.com
https://www.jackdb.com/
https://www.imgix.com/
cloudinary.com
https://databasefire.com/
DevOps Toolkit [ https://ru.wikipedia.org/wiki/DevOps]
https://www.vagrantup.com/
https: //git-scm.com/ | https://bitbucket.org/ | https://github.com
https://www.ansible.com/
https://puppet.com/ | https://xakep.ru/2011/05/14/55238/
https://www.docker.com/
https://gitlab.com/ | https://about.gitlab.com/2016/07/29/the-basics-of-...
https://www.openstack.org/
PS: If you know of any other solution, please write it in a comment.

A
Anton, 2017-08-02
Reytarovsky @Antonchik

Git to use. For database migrations, for .gitignore configs

T
ThunderCat, 2017-08-02
@ThunderCat

Specifically:
- Register on github or bitbucket
- create a new project (empty)
- create a folder with the project on the local machine and start creating your masterpiece there (for example, install wordpress)
- at the stage when everything is ready to start working on several machines (installed wordpress) , create a LOCAL repository (you need to install the git utility).
- Upload your local rap to the git server.
- connect users who should have access to the project on the git repository site.
- profit (everyone logs in and makes a local copy of the repository, when he changes something - uploads changes to the server)
A good article for a quick start.

P
Pavel, 2017-08-02
@mrusklon

I have one to one situation. I decided this:
in phpstorm I deploy the project for any sneeze,
then I make the git repository and all the files are sent via bitbucket / gitlab, I don’t touch the database and there is no need to replace anything in it except for the necessary tasks. And the files are always up-to-date at the expense of the git. There is only half a second between sending the file to the server and updating the page in the browser to complete happiness

V
Vladislav Startsev, 2017-08-10
@esvlad

If there is no need for git, then you can store it on the host and connect via SSH (if the host supports it).

L
lobbobobby, 2017-08-20
@lobbobobby

Adopt DevOps/CI/CD tools and practices.
DevOps involves close collaboration during both the development phase, the launch phase, and the operational phase. Up to the indistinguishability of these stages in the working draft.
In order to achieve this, a lot of tools and a lot of ways have been invented.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question