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.
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.
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?
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.
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.
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.