Justin Gilman f11d3f852d adding in nginx server config | 9 anos atrás | |
---|---|---|
controllers | 10 anos atrás | |
htdocs | 10 anos atrás | |
libs | 10 anos atrás | |
setup | 9 anos atrás | |
views | 10 anos atrás | |
README.md | 11 anos atrás | |
config.inc | 10 anos atrás |
====
A very lightweight forum implementation.
This was only tested on a debian linux server, so that's the baseline. You will need apache2, PHP5.3 +suhosin if you haven't changed your PHP session storage location. MySQL server is used for the backend, and Memcached is optional but suggested.
To set up your own instance of doxen, just copy the setup/apache2_doxen vhost definition to your apache2 configuration.
sudo cp setup/apache2_doxen /etc/apache2/sites-available/
sudo ln -s /etc/apache2/sites-available/apache2_doxen /etc/apache2/sites-enabled/001-doxen
sudo /etc/init.d/apache2 restart
The mysql database setup script is in setup/mysql_db.sql and will create the required database and tables. Make sure to change the default user password in this file, just replace 'doxenpassword'.
mysql -u root -p < setup/mysql_db.sql
The code should be placed in /var/www/doxen. The config.inc file has configuration information, make sure that the database password here matches what you changed the password to in the database script.
Once you are setup, delete the entire setup folder as you will no longer need it.