F

Flourish_2013_Website

This is the source code for the Flourish! 2013 Website. Feel free to contribute and fix the many bugs that plague the website!

public

 

Flourish CMS

Generate Documentation

asciidoc -a toc  README.asciidoc

Dependencies

  • Standard LAMP (Linux Apache Mysql PHP ) — though Linux/Apache can be swapped out for equivalent pieces

  • pear-php should be installed

Install

Database

#create a limited user.
mysql -u root -p
create user 'flourish'@'localhost' identified by 'secret';
create database flourish;
grant all privileges on flourish.* to 'flourish'@'localhost';
flush privileges;
#In the base directory run:
./install/setup.sh -u DBUSER -p DBPASS -H DBHOST -d DBNAME

Configuration

#rename config-template.php to config.php and update values as needed.
cp config-template.php config.php
#rename configs/default-template.conf to default.conf
cp configs/default-template.conf configs/default.conf

InitializeDirectories

mkdir templates_c && chmod 777 $_

Apache

THIS IS VERY IMPORTANT.
rename admin/htaccess to .htaccess and make sure your browser is configured to use the credentials."
for more info see:  http://httpd.apache.org/docs/current/howto/htaccess.html "
to change the password use htpasswd passwdfile admin
You can replace admin with any user.