Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D digitec-wiki
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Digitec
  • digitec-wiki
  • Wiki
  • web application deployment

Last edited by Rene Cabral Nov 04, 2014
Page history
This is an old version of this page. You can view the most recent version or browse the history.

web application deployment

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.

Legend

Key Example
{org} disney
{Org} Disney

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}

Adding a vhost Entry to Staging

Add vhost directory directive in /etc/httpd/conf.d/staging.digitec.io.conf.


	# Begin {Org} Block 
	# ---------------------------------------------------
	<Directory "/www/staging.digitec.io/{org}">
		AuthType Basic
		AuthName "Digitec RHS-1 Staging Server - {Org}"
		AuthUserFile /etc/httpd/secure/staging.digitec.io/{org}.htpasswd
		Require valid-user
		<FilesMatch "\.(mp4|flv|webm|ogg|pdf)$">
		Satisfy any
		order allow,deny
		allow from all
		</FilesMatch>	
	</Directory>
	# ---------------------------------------------------

Add Password Protection to New vhost Entry

  1. ssh in as root to the staging server.
  2. Navigate to the /etc/httpd/secure/staging.digitec.io/ directory.
  3. Create the {org}.htpasswd file.
    • The password entry is usually user: {org}, password: 101.
htpasswd -c {org}.htpasswd {org}

Restart the server.

httpd -k restart
Clone repository
  • alpha beta testing
  • browser testing
  • camtasia licenses
  • code delivery processes
  • coding practices
  • css and sass coding standards
  • database schema standards
  • dependency management
  • development environments
  • digitec agile process
  • digitec gitlab styles
  • digitec software promises
  • digitec spec process
  • gitlab administration
  • gitlab issues tags
View All Pages