This is the source code to the prefix.cc web site operated by Richard Cyganiak (richard@cyganiak.de, @cygri).
- Apache with
mod_rewrite
enabled - PHP
- MySQL
-
Clone the repository into a local directory
-
Set up a virtual host
prefixcc.local
with that directory as document root -
Create a new MySQL database:
echo CREATE DATABASE prefixcc | mysql -u root
-
Set up database tables:
mysql -u root prefixcc < db_schema/schema.sql
-
Make a copy of the default configuration:
cp default.config.php config.php
-
Edit database credentials in
config.php
if necessary -
Import prefixes from the public prefix.cc site:
php tools/csv-import.php http://prefix.cc/popular/all.file.csv | mysql -u root prefixcc
-
Go to http://prefixcc.local/ and you should have a functional site!