Animurecs is a PHP / MySQL social network aimed at making enjoying anime a communal experience. It uses memcached
to store and retrieve frequently-queried data.
To get started (after installing the above dependencies), you should do the following:
git clone
Animurecs- Modify
global/config.php.example
to work with your setup and rename it toglobal/config.php
- Modify
dbv/config.php.sample
with the authentication setup of your choice and rename it todbv/config.php
- Open up
dbv/index.php
in your browser and push all the disk schema to your database - Open up
scripts/config.example.txt
, copy it toscripts/config.txt
and change the parameters to fit your installation
After that, you'll want to set up your webserver. Point your server's document root to the public folder, and then create a rewrite rule to route all requests to index.php inside the public folder. For nginx it'd look like this:
if (!-e $request_filename) {
rewrite ^/([a-zA-Z0-9\_]+)?(/(.+?))?(/([0-9A-Za-z\_]+))?/?(\.([a-zA-Z]+))?/?$ /index.php?model=$1&id=$3&action=$5&format=$7 last;
break;
}
You should be all set up to go after that!
© 2012 Charles Guo