Skip to content

Latest commit

 

History

History
60 lines (42 loc) · 1.29 KB

README.asciidoc

File metadata and controls

60 lines (42 loc) · 1.29 KB

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.