Follow the steps below to install Team City 10.0.2 on Debian/Ubuntu with Nginx as the proxy for port 80.
Requirements:
- curl
- configure utf-8 locale of your choice (recommended)
Install Team City:
server { | |
listen *:80 default; | |
server_name _; | |
location / { | |
client_max_body_size 1G; | |
proxy_pass http://127.0.0.1:8000; | |
proxy_set_header Host $host; | |
proxy_set_header X-Real-IP $remote_addr; |
tap 'bls/blackbox' | |
tap 'caskroom/cask' | |
tap 'homebrew/bundle' | |
tap 'homebrew/core' | |
tap 'homebrew/fuse' | |
brew 'libyaml' | |
brew '[email protected]' | |
brew 'gdbm' | |
brew 'openssl' | |
brew 'readline' |
First of all, it just seems like doing anything with Oracle is obnoxiously painful for no good reason. It's the nature of the beast I suppose. cx_oracle is a python module that allows you to connect to an Oracle Database and issue queries, inserts, updates..usual jazz.
Step 1:
sudo apt-get install build-essential unzip python-dev libaio-dev
Step 2. Click here to download the appropriate zip files required for this. You'll need:
# If following the official celery documentation for integration django | |
# you might have a `celery.py` file that looks like this. | |
from __future__ import absolute_import, unicode_literals | |
import os | |
import logging | |
from celery import Celery | |
# from celery.utils.log import get_task_logger | |
from celery import signals |
import logging | |
from flask import Flask | |
from raven.contrib.flask import Sentry | |
logger = logging.getLogger(__name__) | |
app = Flask(__name__) | |
app.config['DEBUG'] = False |
function slugify_(text){ | |
return text.toString().toLowerCase() | |
.replace(/\s+/g, '-') // Replace spaces with - | |
.replace(/[^\w\-]+/g, '') // Remove all non-word chars | |
.replace(/\-\-+/g, '-') // Replace multiple - with single - | |
.replace(/^-+/, '') // Trim - from start of text | |
.replace(/-+$/, ''); // Trim - from end of text | |
} |
# In consumers.py | |
import random | |
import json | |
from channels import Group | |
from raven.contrib.django.models import get_client | |
client = get_client() |
# Context & breadcrumbns handling missing from example. | |
class Client(object): | |
def __init__(self, dsn=Ellipsis, *args, **kwargs): | |
self.dsn = dsn | |
self.environment = Environ() # singleton encapsulating lazy? system properties |
# Extracting all settings into its own class | |
# and making all registered defaults "settable" with env vars | |
# easier to subclass and or register with plugins | |
config = { | |
'LOGGER_EXCEPTIONS' = ['path.to.module','path.to.module2'], | |
'ENABLE_SOMETHING' = True | |
} |