PageRenderTime 48ms CodeModel.GetById 41ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 1ms

/README

http://thoughtsite.googlecode.com/
#! | 85 lines | 65 code | 20 blank | 0 comment | 0 complexity | 1a538f90d8ecebd2d7350b8e3a8868b4 MD5 | raw file
 11. Introduction
 2ThoughtSite is envisioned as a social network where potential developers/entrepreneurs can find inspiration to build new applications and businesses. The website is a medium for people to propose and exchange new and interesting business ideas as well as a social network for registered users to search, comment and collaborate on ideas.
 3
 42. Installation
 5Please follow the instructions below to install ThoughtSite. 
 6
 72.1  Pre-requisites:
 8
 9     1) Install JRE 1.6.0_02
10     2) Checkout the latest version of the code from the repository into your favorite IDE, as described on
11         http://code.google.com/p/thoughtsite/source/checkout
12     3) Update application name inside ${Project_home}/src/main/webapp/WEB-INF/appengine-web.xml.
13	
14	For Example: 
15	  <?xml version="1.0" encoding="utf-8"?>
16	  <appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
17		<application>
18			<<Application Id>>
19		</application>
20			.
21			.
22			.
23	  </appengine-web-app>
24
252.2   Configuration changes:
26      Following are the web-domain specific changes, needed for enabling the OpenId and Google OAuth for web domains.	
27     1) Use link https://www.google.com/accounts/ManageDomains to register your web domain and generate <meta>  tag having verification key as its content.       
28	  For Example:
29	  <meta name="google-site-verification" content="xzcVSmAgkQvOm_ImutHAxNTGCKkrVVFNUsiDf3hISFQ" />
30      	  
31     2) Copy <meta> tag and paste into ${Project_home}/war/WEB-INF/decorators/admin-layout.jsp and   
32          ${Project_home}/war/WEB-INF/decorators/layout.jsp , and upload ThoughtSite project to GAE using 
33	  GAE plug-in from eclipse.
34	  Example:
35	  <html>
36	      <head>
37	          <meta name="google-site-verification" content="Ef3KCtSi-DqVSVq-Z3bf_ZaLrLuSw6cWrdbNwAcAGCo" /> 
38		  .
39		  .
40		  .
41              </head>
42	      <body>
43		.
44		.
45		.
46	      </body>
47          </html> 
48     3) Generate certificate file for authorization. Please refer 
49         http://code.google.com/apis/gdata/docs/auth/oauth.html#GeneratingKeyCert for certificate generation.
50	 	 
51     4) Verify your site from https://www.google.com/accounts/ManageDomains using web domain specific link 
52         under 'Manage registration' section. On successful verification pass certificate generated in step 3.
53	 On successful verification, server would return following security information for web-domain.
54	 1.)google.consumerKey
55	 2.)google.consumerSecret
56	 3.)google.oauthTestEndpoint	 
57     5) Add google.consumerKey, google.consumerSecret and google.oauthTestEndpoint as properties and their values received in step 4 into ${Project_home}/conf/dev/provider.properties for openId and OAuth based authentification and authorization.
58           a) google.consumerKey
59	   b) google.consumerSecret
60	   c) google.oauthTestEndpoint
61        Please refer the link http://code.google.com/apis/gdata/docs/auth/oauth.html#2LeggedOAuth.
62
632.3 Upload Application and Populate data:
64    1.) Upload the ThoughtSite application.
65
66    2.) Upload Data:
67	ThoughtSite contains DataUploadController, a seperate controller to upload the sample data eg
68	Categories,Bad Words and appliaction admin.
69
70	a) Upload Categories
71	   Use URL http://<<domain-name>>.com/categories/upload to load categories.
72
73	a) Upload Bad words
74	   Use URL http://<<domain-name>>.com/upload/badWords to load Bad words.
75
76	c) Add Admin:
77	   Use URL http://<<domain-name>>.com/addAdmin to load admin.
78
79       	  
80	  
81
82
83
84
85