Course Hero Logo

SeattleGeniInstallation.md - *Note for Seattle historians:*...

Course Hero uses AI to attempt to automatically extract content from documents to surface to you and others so you can study better, e.g., in search results, to enrich docs, and more. This preview shows page 1 - 3 out of 9 pages.

**Note for Seattle historians:** This page (and its history) is not used forproduction uses anymore. The latest Clearinghouse installation instructions areavailable [wiki:ClearinghouseInstallation here].----# Seattle Clearinghouse Installation HowToThis document explains how to do a fresh install of the Seattle Clearinghouseportal ona machine that is running a Debian-like Linux operating system such as Ubuntu.* For info on deploying the production Seattle Clearinghouse code and forstarting/restarting Apache, see [wiki:Archive/SeattleGeniProductionHttp]--------## Install Dependencies----Seattle Clearinghouse requires at least the following software to be installed:* [Python]() -- the language Seattle Clearinghouse iswritten in* [Python MySQLDB]() -- the python mysqlinterface* [MySQL]() -- the database* [Apache]() -- the web server* [mod_python]() -- necessary for interfacing withDjango code* [OpenSSL]() -- necessary for https:// support* [Django]() -- necessary to run Django code* [Django Social Auth]() -- necessaryfor OpenID and Oauth supportMost of these can be installed through a package manager. For example, on aDebian-based system:```sh$ apt-get install apache2 libapache2-mod-python$ apt-get install mysql-server mysql-client python-mysqldb$ apt-get install ntp```The version of Django required is 1.3.5, which is available at or through a package manager.```sh$ pip install django==1.3.5```At this time we do not support Django version 1.4 or higher.## Setup OpenID and OAuth----Seattle Clearinghouse requires [Django Social Auth]() to handle OpenID and Oauth support.This application depends on:* [python-openid ]()* [python-oauth2 ]()Using something like easy_install will install these for you.
```sh$ easy_install django-social-auth```By default Gmail and Yahoo login are enabled.If desired Windows Live, Githuband Facebook login can be enabled with some additional steps-OPTIONAL-.**Facebook*** Register a new application at [Facebook App Creation ]()* set App Domains in Facebook edit App page```yoursite.com```* click the Website with Facebook Login checkmark and set site URL``````* Uncomment and fill out ```App ID``` and ```App Secret``` values insettings.py```pythonFACEBOOK_APP_ID= ' your appid'FACEBOOK_API_SECRET= ' your api secret key'```**Windows Live*** Register a new application at [Live Connect Developer Center ]()* Set redirect domain``````* Uncomment and fill out ```LIVE_CLIENT_ID``` and ```LIVE_CLIENT_SECRET```values in settings.py```pythonLIVE_CLIENT_ID= ' your appid'LIVE_CLIENT_SECRET= ' your api secret key'```**Github*** Register a new application at [Live GitHub Developers ]()* Set URL and callback URL``````

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 9 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Fall
Professor
ArmandoFox
Tags
Temporary variable, Temporary file, Temporary folder, Seattle Clearinghouse

Newly uploaded documents

Show More

Newly uploaded documents

Show More

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture