javascript - Please give me some experience on multi-location and multi-device development.

WBOY
Release: 2023-03-03 08:56:01
Original
1092 people have browsed it

Foreword


I am a novice with no technical skills; I have one laptop and desktop at home, and one at the company. Assuming that’s all I have now, three devices may often be used to develop things; the current situation is basically a test of U disk.

Current situation


I recently spent some time learning Git. I tested it tonight by pushing the project to a remote warehouse and then cloning it on another computer. The pull was not tested, but it should be fine;

The problem with the program file has been solved. The database is now exported as a .sql file and placed in the directory and pushed to github together, and then pulled from another computer and then imported.

The future? (please advise)


  • Push the project directly to github and pull it back from other devices. You should be able to do this in a loop

  • What simpler version control is there for the database? My method of exporting sql is obviously stupid.

  • Do you have any more experience with me regarding this multi-device development problem? Don’t be stingy if you give me any advice. Thank you very much for your advice.

PS: The development I am doing now is mainly ThinkPHP5 and Laravel (I have not applied it to actual projects during my studies); both of them have migration, and I have briefly touched it, but I can’t remember so many field types and Field properties. Is there any other good way besides migration?

Reply content:

Foreword


I am a novice with no technical skills; I have one laptop and desktop at home, and one at the company. Assuming that’s all I have now, three devices may often be used to develop things; the current situation is basically a test of U disk.

Current situation


I recently spent some time learning Git. I tested it tonight by pushing the project to a remote warehouse and then cloning it on another computer. The pull was not tested, but it should be fine;

The problem with the program file has been solved. The database is now exported as a .sql file and placed in the directory and pushed to github together, and then pulled from another computer and then imported.

The future? (please advise)


  • Push the project directly to github and pull it back from other devices. You should be able to do this in a loop

  • What simpler version control is there for the database? My method of exporting sql is obviously stupid.

  • Do you have any more experience with me regarding this multi-device development problem? Don’t be stingy if you give me any advice. Thank you very much for your advice.

PS: The development I am currently doing is mainly ThinkPHP5 and Laravel (I have not applied it to actual projects during my studies); both of them have migration, and I have briefly touched it, but I can’t remember so many field types and Field properties. Is there any other good way besides migration?

In a real development environment, you generally don’t need to run mysql on your own development computer, but are connected to the test server’s mysql. I wonder if the remote warehouse you are talking about is on your own server? If you have a server now, then you can set up a mysql on the server, and pulling from the server should be normal. If you don't have one now, you can go to Taobao and buy a free space for a few yuan.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!