Reputation: 6138
I'm asking a question about my Django application updates. I'm working on my Django Development server and I would like to know How I could create a patch which will update my different Django Project installed on different servers.
For example :
In my Dev' server, I add a new Query in my script. Then I would like to add this new Query to my all virtual instances by updating my script and not just copy/past modifications. It could work for one query, but if I have 200 rows, copy/paste will be too long. I launch a patch which will make all updates without manually copy/paste rows.
How it's possible to do that ?
Thank you so much
Upvotes: 1
Views: 66
Reputation: 23134
You should probably consider migrating your project to a version control system.
Then every time you are changing something to your local copy of the code and push
the changes on the repository, you can fetch
/rebase
/pull
your changes wherever you want (be it your server or another computer of yours), and your patches will be applied without copy/pasting!
Some version control systems to consider:
Good luck :)
Upvotes: 1