- Download docker-compose.yml to dir named sentry
- Change SENTRY_SECRET_KEYto random 32 char string
- Run docker-compose up -d
- Run docker-compose exec sentry sentry upgradeto setup database and create admin user
- (Optional) Run docker-compose exec sentry pip install sentry-slackif you want slack plugin, it can be done later
- Run docker-compose restart sentry
- Sentry is now running on public port 9000
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #Configuration Proxy | |
| #Git | |
| git config --global http.proxy http://<username>:<password>@<proxy-port> | |
| git config --global https.proxy http://<username>:<password>@<proxy-port> | |
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # Pass the env-vars to MYCOMMAND | |
| eval $(egrep -v '^#' .env | xargs) MYCOMMAND | |
| # … or ... | |
| # Export the vars in .env into your shell: | |
| export $(egrep -v '^#' .env | xargs) | 
- Use curlto get the JSON response for the latest release
- Use grepto find the line containing file URL
- Use cutandtrto extract the URL
- Use wgetto download it
curl -s https://api.github.com/repos/jgm/pandoc/releases/latest \
| grep "browser_download_url.*deb" \
| cut -d : -f 2,3 \
| tr -d \" \
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # These examples assume you have a container currently running. | |
| # 1 Pipe from a file | |
| sudo docker exec --interactive CONTAINER_NAME /bin/bash < the_beginning.sh | tee the_beginning_output.txt` | |
| #2a Pipe by piping | |
| echo "echo This is how we pipe to docker exec" | sudo docker exec --interactive CONTAINER_NAME /bin/bash - | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/bash | |
| # Requires pip | |
| pip install virtualenv | |
| virtualenv listener | |
| listener/bin/pip install kombu | |
| listener/bin/python openstackEvents.py | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | ######################################## | |
| # Required changes to nova.conf # | |
| ######################################## | |
| # notification_driver=nova.openstack.common.notifier.rpc_notifier | |
| # notification_topics = notifications | |
| # notify_on_state_change = vm_and_task_state | |
| # instance_usage_audit_period = hour | |
| # instance_usage_audit = True | |
| # default_notification_level = INFO | |
| # notify_api_faults = true | 
- Hosting is set up with full control panel access and we have log in credentials
- All email addresses are known for each form and all emails has been confirmed active
- Person responsible for DNS switch knows client's current email management service and understands how to route the DNS
- Person responsible for deployment has obtained SSH access to server
-  All required system packages have been installed on the server e.g. recent versions of php(greater thanv5.4, if at all possible),mysql,git,wp-cli,magerun(if Magento project),openssl(if https),rsync, etc.
When I googled how to create my own offline repository of packages for use in an offline Ubuntu/Debian machine, the results were disheartening and the steps to be taken scattered all over the place.
The files within this gist will allow you to:
- Download specific apt-get packages... with dependencies included!
- Create a Packages.gzfile so that you can add the repository folder you create to the target machine's/etc/apt/sources.listfile.
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # Last updated: 08/24/2916 | |
| # | |
| # Total instructions available: 18 | |
| # | |
| # https://docs.docker.com/engine/reference/builder/ | |
| # | |
| # You can use a .dockerignore file in the same context directory as | |
| # your Dockerfile to ignore files in the context before sending them | |
| # to the Docker daemon for building to speed up building. |