GitXplorerGitXplorer
c

prefix.cc

public
38 stars
10 forks
19 issues

Commits

List of commits on branch master.
Unverified
d51e0a925ce09a3a30afdc390109f3706028ba23

Fix LOV links (via @gatemezing)

ccygri committed 3 years ago
Unverified
cbc85c00e59e00cf4fee697374109fdd9027231a

Add page listing tools using the API

ccygri committed 4 years ago
Unverified
7b84d88bd22accb1607bfcbc50c85a082af0641f

Allow _ as final character in namespace URI

ccygri committed 4 years ago
Unverified
0dfbb87de2d148ee8f0c0d27575c35334b168be3

Fix #29: Error message if URI too long

ccygri committed 5 years ago
Verified
88edaa44673c3beba82dee3af2ff9be7436cc14b

Merge pull request #26 from cygri/lov-update-20190526

ccygri committed 6 years ago
Unverified
41e3213e5dd41c9ad16b7ad279bb5dbbec275a4b

Removed invalid or existing mappings

ccygri committed 6 years ago

README

The README file for this repository.

prefix.cc Source Code

This is the source code to the prefix.cc web site operated by Richard Cyganiak (richard@cyganiak.de, @cygri).

Requirements

  • Apache with mod_rewrite enabled
  • PHP (recommended version: 7.2)
  • MySQL

Setting up a test site

  1. Clone the repository into a local directory

  2. Set up a virtual host prefixcc.local with that directory as document root

  3. Create a new MySQL database:

     echo CREATE DATABASE prefixcc | mysql -u root 
    
  4. Set up database tables:

     mysql -u root prefixcc < db_schema/schema.sql
    
  5. Make a copy of the default configuration:

     cp default.config.php config.php
    
  6. Edit database credentials in config.php if necessary

  7. Import prefixes from the public prefix.cc site:

     php tools/csv-import.php http://prefix.cc/popular/all.file.csv | mysql -u root prefixcc
    
  8. Go to http://prefixcc.local/ and you should have a functional site!