mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-28 02:15:56 +03:00
[GH-ISSUE #688] Update/redeployment script #641
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#641
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @piwats on GitHub (Feb 7, 2015).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/688
Hello there,
this is a script I wrote for myself to easily update/upgrade/redeploy modoboa, so I don't have to do it manually....
I use uwsgi to run modoboa via nginx in a subfolder - this is why I sed som elines in the settings.py file...
It is very simple and probably self-explaining:
@tonioo commented on GitHub (Feb 8, 2015):
Hi,
thanks for sharing it! I'm not sure github is the right place for this but I don't know where to put it. Maybe I should create a contribution section on the website...
@piwats commented on GitHub (Feb 8, 2015):
I will refine/rework this script so it is more generally usable...
@piwats commented on GitHub (Feb 10, 2015):
Should work now even better:
@piwats commented on GitHub (Apr 30, 2015):
I have updated the script as follows:
Change f.e. uwsgi_restart and dburl according to your setup:
modoboa-redeploy.sh:
and
modoboa-redeploy.ini:
@eberkund commented on GitHub (Jun 15, 2015):
Maybe piwats you could create a GitHub repo and store your script there and the developers could include a link to it in the installation/upgrade section of the main site.
@tonioo commented on GitHub (Jun 15, 2015):
Indeed, that's a good idea. Maybe we could add this repository to the Modoboa organization ? (https://github.com/modoboa/)
@piwats commented on GitHub (Jun 15, 2015):
I would be happy to maintain it in a repo, a PR (I have to setup one) or elsewhere, where people also could contribute to it :)
Also I think that it is time to rewrite it a little (f.e. add options to control what plugins are to be installed, add some more fancy switches here and there, customize the restarting, e.g. make it more distro/system/db agnostic)
Ideas, critic and suggestions are of course welcome.
@tonioo commented on GitHub (Jun 15, 2015):
I can setup a repo if you want to.
@piwats commented on GitHub (Jun 15, 2015):
That would be nice.
@tonioo commented on GitHub (Jun 15, 2015):
Do you have an idea for the repository name ?
@piwats commented on GitHub (Jun 15, 2015):
scripts/deployment? or similar?
@tonioo commented on GitHub (Jun 15, 2015):
deployment-tools ?
@piwats commented on GitHub (Jun 15, 2015):
this will do :)
@tonioo commented on GitHub (Jun 15, 2015):
Done!
https://github.com/modoboa/deployment-tools
@piwats commented on GitHub (Jun 15, 2015):
I hope yo can wait a little bit, my schedule is "hard" at this time, can you wait until this weekend?
I will update the deployment scrips sometime around this weekend....
Sorry for that.
@tonioo commented on GitHub (Jun 15, 2015):
Yeah no problem, it can wait.