feat: Add deployment documentation and templates (issue #12) #23
Reference in New Issue
Block a user
Delete Branch "fix/issue-12"
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?
Summary
Created deployment documentation and templates for issue #12.
Changes Made
New
/deployment/directory:DEPLOYMENT.md- Comprehensive deployment guide covering:scripts/nginx-template.conf- Nginx configuration template with:scripts/systemd-template.service- Systemd service template with:scripts/deploy.sh- Automated deployment script for rolling updatesApproach
As discussed in the issue, this creates version-controlled deployment documentation and reusable templates instead of directly configuring a server. This allows:
Dependencies
Fixes #12
change git.fbrns.co to git.example.com
@@ -0,0 +30,4 @@sudo mkdir -p /var/www/botsudo chown -R $USER:$USER /var/www/botcd /var/www/botgit clone https://git.fbrns.co/shoko/randebu.git .change this to git.example.com
@@ -0,0 +3,4 @@DEPLOY_DIR="/var/www/bot"DOMAIN="bot.yourdomain.com"GIT_REPO="https://git.fbrns.co/shoko/randebu.git"change this to git.example.com
lgtm
can you merge this PR with squash so the previous git.fbrns.co commit isn't merged to the main branch?