From Fedora Project Wiki

No edit summary
m (Link pointed at non-existent file.)
 
(25 intermediate revisions by 4 users not shown)
Line 2: Line 2:
{{shortcut|ISOP:ASKFEDORA}}
{{shortcut|ISOP:ASKFEDORA}}


{{admon/note| This is a draft}}


To set up http://ask.fedoraproject.org (not active yet) based on http://askbot.org as a question and answer support forum for the Fedora community. A test instance could be seen at http://ask01.dev.fedoraproject.org.
This SOP has moved to the fedora Infrastructure SOP git repo. Please see the current document at: http://infrastructure.fedoraproject.org/infra/docs/askbot.rst


This page describes how to set up and customize it from scratch.  
For changes, questions or comments, please contact anyone in the Fedora Infrastructure team.  


== Contact Information ==
Owner: Fedora Infrastructure Team
Contact: #fedora-admin
Persons: mether  pjp
Sponsor: nirik
Location:
Servers:
Purpose: To host Ask Fedora
== Creating database ==
<pre>
# yum install askbot postgresql postgresql-server
# su - postgres
$ cd /var/lib/pgsql/data
$ initdb $PWD
$ exit
# service postgresql start
# psql -U postgres
postgres# create user askfedora with password 'xxx';
postgres# create database askfedora;
postgres# ALTER DATABASE askbot owner to askbot;
postgres# \q;
# psql -U askbot -W askbot
askbot=>
</pre>
==  Setting up the forum ==
Run the following command and answer the questions asked
$askbot-setup
FIXME:  steps to configure Apache  and editing settings.py
==  Adding first user as admin ==
FIXME
==  Change settings within the forum==
* Data entry and display: 
Disable "Allow asking questions anonymously"
Enable "Force lowercase the tags"
Change "Format of tag list" to "cloud"
Change "Minimum length of search term for Ajax search" to "3"
Change "Number of questions to list by default" to "50"
Change "What should "unanswered question" mean?"  to "Question has no answers"
* Email and email alert settings
Change "Default news notification frequency" to "Instantly"
* Flatpages - about, privacy policy, etc.
Change "Text of the Q&A forum About page (html format)" to the following
<p> Ask Fedora provides a community edited knowledge base and support forum for the Fedora community. Make sure you read the FAQ and search for existing answers before asking yours.  If you want to provide feedback,  just a question in this site!  Tag your questions "meta" so that the feedback is highlighted to the administrators of Ask Fedora. </p>
* Q&A forum website parameters and urls
Change "Site title for the Q&A forum" to  "Ask Fedora:  Community Knowledge Base and Support Forum"
Change "Comma separated list of Q&A site keywords" to "Ask Fedora, forum, community, support, help"
Change "Copyright message to show in the footer" to "All content is under Creative Commons Attribution Share Alike License.  Ask Fedora is community maintained and Red Hat or Fedora Project is not responsible for content"
Change "Site description for the search engines" to "Ask Fedora:  Community Knowledge Base and Support Forum"
Change "Short name for your Q&A forum" to "Ask Fedora"
Change "Base URL for your Q&A forum, must start with http or https" to "http://ask.fedoraproject.org"
* Sidebar widget settings - main page
Disable "Show avatar block in sidebar"
Disable "Show tag selector in sidebar"
* Skin and User Interface settings
Upload "Q&A site logo"
Upload "Site favicon" to Fedora ico file
Set "Skin media revision number" to 2
Enable "Apply custom style sheet (CSS)"
Upload the following custom CSS
<pre>
#ab-main-nav a {
color: #333333;
background-color: #d8dfeb;
border: 1px solid #888888;
border-bottom: none;
padding: 0px 12px 3px 12px;
height: 25px;
line-height: 30px;
margin-right: 10px;
font-size: 18px;
font-weight: 100;
text-decoration: none;
display: block;
float: left;
}
#ab-main-nav a.on {
height: 24px;
line-height: 28px;
border-bottom: 1px solid #0a57a4;
border-right: 1px solid #0a57a4;
border-top: 1px solid #0a57a4;
border-left: 1px solid #0a57a4; /*background:#A31E39; */
background: #0a57a4;
color: #FFF;
font-weight: 800;
text-decoration: none
}
#ab-main-nav a.special {
font-size: 18px;
color: #072b61;
font-weight: bold;
text-decoration: none;
}
/* tabs stuff */
.tabsA { float: right; }
.tabsC { float: left; }
.tabsA a.on, .tabsC a.on, .tabsA a:hover, .tabsC a:hover {
background: #fff;
color: #072b61;
border-top: 1px solid #babdb6;
border-left: 1px solid #babdb6;
border-right: 1px solid #888a85;
border-bottom: 1px solid #888a85;
height: 24px;
line-height: 26px;
margin-top: 3px;
}
.tabsA a.rev.on, tabsA a.rev.on:hover {
padding: 0px 2px 0px 7px;
}
.tabsA a, .tabsC a{
background: #f9f7eb;
border-top: 1px solid #eeeeec;
border-left: 1px solid #eeeeec;
border-right: 1px solid #a9aca5;
border-bottom: 1px solid #888a85;
color: #888a85;
display: block;
float: left;
height: 20px;
line-height: 22px;
margin: 5px 0 0 4px;
padding: 0 7px;
text-decoration: none;
}
.tabsA .label, .tabsC .label {
float: left;
font-weight: bold;
color: #777;
margin: 8px 0 0 0px;
}
.tabsB a {
background: #eee;
border: 1px solid #eee;
color: #777;
display: block;
float: left;
height: 22px;
line-height: 28px;
margin: 5px 0px 0 4px;
padding: 0 11px 0 11px;
text-decoration: none;
}
a {
color: #072b61;
text-decoration: none;
cursor: pointer;
}
div.side-box
{
width:200px;
padding:10px;
border:3px solid #CCCCCC;
margin:0px;
background: -moz-linear-gradient(top, #DDDDDD, #FFFFFF);
}
</pre>


[[Category:Infrastructure SOPs]]
[[Category:Infrastructure SOPs]]

Latest revision as of 19:25, 17 July 2015

Shortcut:
ISOP:ASKFEDORA


This SOP has moved to the fedora Infrastructure SOP git repo. Please see the current document at: http://infrastructure.fedoraproject.org/infra/docs/askbot.rst

For changes, questions or comments, please contact anyone in the Fedora Infrastructure team.