Commit 259ca149 authored by Benjamin Drieu's avatar Benjamin Drieu

Branding ;-)

parent d1671149
* Pre-requisites
You must have the following components installed in the server where
you install GePeTition :
you install GSpeakUp :
- a webserver (GePeTition has been tested on Apache) ;
- a webserver (GSpeakUp has been tested on Apache) ;
- PHP >= 4 ;
- PHP-MySQL ;
- Smarty ;
- a mail server.
You also need a MySQL server accessible to the GePeTition installation.
You also need a MySQL server accessible to the GSpeakUp installation.
* Installation procedure
To install GePeTition, unpack it directly in your website directory
To install GSpeakUp, unpack it directly in your website directory
tree. Configure the include/options.php file to your needs and set
the database part to the MySQL database you created for GePeTition.
the database part to the MySQL database you created for GSpeakUp.
Execute the sql/gepetition.sql file in a mysql console in order to
Execute the sql/gSpeakUp.sql file in a mysql console in order to
create the needed SQL table.
Then point your web browser to its location.
I.e, in Debian, if you unpacked it to /var/www/gpt, you can point your
web browser to http://xxx/gepetition/ (assuming xxx is the hostname of the
machine where you installed GePeTition).
web browser to http://xxx/gSpeakUp/ (assuming xxx is the hostname of the
machine where you installed GSpeakUp).
......@@ -20,24 +20,24 @@
/* */
/* ************************************************************************** */
// Top directory where GePeTition is installed. Do not modify
// Top directory where GSpeakUp is installed. Do not modify
// TEMPLATE_DIR, TEMPLATE_MAIL_DIR or COMPILE_DIR unless needed.
define ( 'GPT_DIR', '/home/benj/public_html/declaration/' );
define ( 'GPT_DIR', '/var/www/gsSpeakUp/' );
define ( 'TEMPLATE_DIR', GPT_DIR . '/templates/smarty/' );
define ( 'TEMPLATE_MAIL_DIR', GPT_DIR . '/templates/mail' );
define ( 'COMPILE_DIR', GPT_DIR . '/templates/compiled' );
// Domain where GePeTition runs. Used for cookies.
define ( 'GPT_DOMAIN', 'drieu.org' );
// Domain where GSpeakUp runs. Used for cookies.
define ( 'GPT_DOMAIN', 'gSpeakUp.org' );
// Top URL of your GePeTition instance.
define ( 'GPT_BASE_URL', 'http://home.drieu.org/declaration/' );
// Top URL of your GSpeakUp instance.
define ( 'GPT_BASE_URL', 'http://gSpeakUp.org/' );
// Who sends the mails
define ( 'GPT_MAIL_BOT', 'Mail Bot <someone@somewhere.org>' );
// Email of the webmaster to send error reports to.
define ( 'GPT_WEBMASTER', 'bdrieu@april.org' );
define ( 'GPT_WEBMASTER', 'admin@somewhere.org' );
// GPT theme, must be 'sandstone', 'flatty' or 'cerulean'
define ( 'GPT_THEME', 'sandstone' );
......@@ -46,13 +46,13 @@ define ( 'GPT_THEME', 'sandstone' );
define ( 'PETITION_MAP', 'world' );
// Goal to achieve
define ( 'PETITION_GOAL', 15000 );
define ( 'PETITION_GOAL', 150 );
// MySQL parameters.
$host = 'localhost';
$database = 'petition';
$user = 'root';
$passwd = 'toto55';
$user = 'xxx';
$passwd = 'xxx';
// Include Smarty. Change this if you do not want to use the Smarty
......
......@@ -4,7 +4,7 @@ $lang = Array
(
'PETITION_TITLE' => 'My first petition',
'PETITION_NAME' => 'my first petition',
'PETITION_BRAND' => '<span class="glyphicon glyphicon-bullhorn"></span>&nbsp;GePeTition',
'PETITION_BRAND' => '<span class="glyphicon glyphicon-bullhorn"></span>&nbsp;gSpeakUp',
'PETITION_HEADER' => 'This is my petition default header',
'PETITION_BODY' => 'This is my petition default body.
......
......@@ -12,7 +12,7 @@ $lang = Array (
'PETITION_NAME' => 'ma première pétition',
// In files /home/benj/public_html/declaration//templates/smarty/header.tpl
'PETITION_BRAND' => '<span class="glyphicon glyphicon-bullhorn"></span>&nbsp;GePeTition',
'PETITION_BRAND' => '<span class="glyphicon glyphicon-bullhorn"></span>&nbsp;gSpeakUp',
// In files /home/benj/public_html/declaration//templates/smarty/sign.tpl, /home/benj/public_html/declaration//templates/smarty/index.tpl
'PETITION_HEADER' => 'Titre par défaut de ma pétition',
......
......@@ -14,7 +14,7 @@
<div class="container-fluid" style="margin-bottom: 0px;">
<div class="collapse navbar-collapse navbar-right">
<ul class="nav navbar-nav">
<li><a href="http://gepetition.april.org/">Powered by GePeTition</a></li>
<li><a href="http://gna.org/projects/gspeakup">Powered by gSpeakUp</a></li>
</ul>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment