Home / Web Application Deployment
Web Application Deployment
The jenkins
user must be used for all filesystem transactions: create {org} directory, upload files, edit files, etc.
The root
user must be used for all entries in the vhost files.
Local Development
Server: | svn-1.digitec.local |
Path: | /home/www/html/dev/{org}/{group}/{project}/ |
User Name: | jenkins |
Password: | DegcuWandetowAi |
Local URL: | http://svn-1.digitec.local/dev/{org}/{group}/{project}/ |
Staging
Server: | staging.digitec.io |
Path: | /www/staging.digitec.io/{org}/{group}/{project}/ |
User Name: | jenkins |
Password: | DegcuWandetowAi |
Public Protected URL: | http://staging.digitec.io/{org}/{group}/{project}/ |
Protected URL User Name: | {username} |
Protected URL User Password: | {password} |
vhost
Entry to Staging
Adding a htpasswwd
/etc/httpd/secure/staging.digitec.io/
# Begin {org} Block
# ---------------------------------------------------
<Directory "/www/staging.digitec.io/disney">
AuthType Basic
AuthName "Digitec RHS-1 Staging Server - Disney"
AuthUserFile /etc/httpd/secure/staging.digitec.io/disney.htpasswd
Require valid-user
<FilesMatch "\.(mp4|flv|webm|ogg|pdf)$">
Satisfy any
order allow,deny
allow from all
</FilesMatch>
</Directory>
# ---------------------------------------------------