<commit_before># Environment Variables

## Session storage settings

### SESSION\_SECRET

The secret key for signing session cookie IDs.

### COOKIE\_SECURE

If true, set secure session cookies.

### MEMCACHED\_HOST

The host name of the memcached service.

### SESSION\_MEMCACHED\_SERVICE

The secret key for encrypting session data stored in memcached.

## SSO settings

### UBUNTU\_SSO\_URL

- **Example**: `https://login.ubuntu.com`

The URL of the authentication service used to log users in.

### OPENID\_VERIFY\_URL

- **Example**: `http://127.0.0.1:8000/login/verify`

The landing page to which users will be redirected to complete logging in to
the application.

### OPENID\_TEAMS

- **Example**: `["ubuntuone-hackers"]`

A JSON array of Launchpad team names.  If set, users must be a member of at
least one of these teams to use the application.

## Launchpad settings

Use `scripts/create-launchpad-credentials` to create these (apart from
`LP_API_URL`).

### LP\_API\_URL

- **Example**: `https://api.launchpad.net`

The URL of the Launchpad API service.

### LP\_API\_USERNAME

The name of the user that this service uses to interact with Launchpad.

### LP\_API\_CONSUMER\_KEY

The OAuth consumer key.  This is an arbitrary identifier.

### LP\_API\_TOKEN

The OAuth access token, generated by Launchpad.

### LP\_API\_TOKEN\_SECRET
<commit_msg>Added link to LP help about getting OAuth tokens (#51)<commit_after># Environment Variables

## Session storage settings

### SESSION\_SECRET

The secret key for signing session cookie IDs.

### COOKIE\_SECURE

If true, set secure session cookies.

### MEMCACHED\_HOST

The host name of the memcached service.

### SESSION\_MEMCACHED\_SERVICE

The secret key for encrypting session data stored in memcached.

## SSO settings

### UBUNTU\_SSO\_URL

- **Example**: `https://login.ubuntu.com`

The URL of the authentication service used to log users in.

### OPENID\_VERIFY\_URL

- **Example**: `http://127.0.0.1:8000/login/verify`

The landing page to which users will be redirected to complete logging in to
the application.

### OPENID\_TEAMS

- **Example**: `["ubuntuone-hackers"]`

A JSON array of Launchpad team names.  If set, users must be a member of at
least one of these teams to use the application.

## Launchpad settings

Use `scripts/create-launchpad-credentials` to create these (apart from
`LP_API_URL`) or follow instructions about [Signing Requests at Launchpad help](https://help.launchpad.net/API/SigningRequests).

### LP\_API\_URL

- **Example**: `https://api.launchpad.net`

The URL of the Launchpad API service.

### LP\_API\_USERNAME

The name of the user that this service uses to interact with Launchpad.

### LP\_API\_CONSUMER\_KEY

The OAuth consumer key.  This is an arbitrary identifier.

### LP\_API\_TOKEN

The OAuth access token, generated by Launchpad.

### LP\_API\_TOKEN\_SECRET

{'fraction_non_alphanumeric': 0.10929342151061608, 'fraction_numerical': 0.007657500870170553, 'mean_word_length': 4.122994652406417, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6248279', 'n_tokens_mistral': 931, 'n_tokens_neox': 879, 'n_words': 332}