"Let's CC" is a search engine service that helps finding contents such as images, music, videos, and documents distributed under CCL (Creative Commons License) quickly, and easily.
PHP JavaScript CSS
Pull request Compare This branch is 16 commits ahead of neomparam:master.
Latest commit ed6af04 Jul 12, 2014 Matt Lee Updated
Permalink
Failed to load latest commit information.
_admin translate some more words May 8, 2012
c translate some word Apr 30, 2012
comm translate some more words May 8, 2012
content first commit Apr 16, 2012
doc first commit Apr 16, 2012
favorite first commit Apr 16, 2012
i
j fixing up templates Jul 9, 2014
lib translate some more words May 8, 2012
member translate some word Apr 30, 2012
themes/ccsearch/templates Updated Jul 11, 2014
.gitignore gitignore, README in markdown Jul 9, 2014
LICENSE first commit Apr 16, 2012
README.md
about.php translate some word Apr 30, 2012
cc_intro.php translate some word Apr 30, 2012
database.php recreate an ADODB connection string from config Jul 9, 2014
detail.php translate some more words May 8, 2012
favicon.ico first commit Apr 16, 2012
favorite.php translate some more words May 8, 2012
index.php remove trailing brace Jul 9, 2014
my_favorite.php translate some more words May 8, 2012
old.php Move index markup to smarty. Likely broken Jul 9, 2014
query_ccmixter.php
query_slideshare.php first commit Apr 16, 2012
search.php Add search Jul 9, 2014
templating.php Early templating Jul 9, 2014

README.md

About Let's CC

"Let's CC" is a search engine service that helps finding contents such as images, music, videos, and documents distributed under CCL (Creative Commons License) quickly, and easily. It was planned and developed by CC Korea volunteers in 2011.

Additional development by Matt Lee at Creative Commons in 2014.

It utilizes many global service api such as Flickr, YouTube, CCMixter, Jamendo, and SlideShare.

This project is to encourage many people to share their knowledge, art, and data effectively, and experts of various areas to cooperate and collaborate to create innovative contents continuously.

homepage: http://www.cckorea.org/xe/?mid=english

Requirements

  • MySQL: 5.1.0 or more
  • PHP: 5.3.0 or more, ext-curl, ext-json required

How to install

  1. Create database and user for MySQL.

    $ mysql -u root -p mysql> CREATE DATABASE [databasename]; mysql> GRANT ALL PRIVILEGES ON [databasename].* TO -> "[username]"@"[hostname]" IDENTIFIED BY "[password]"; mysql> FLUSH PRIVILEGES; mysql> EXIT

    [databasename] : Name of the database for the project [username] : Name of the user account for the project [password] : Password for user account

  2. Create table

    $ mysql -u [username] -p [databasename] < [download path]/doc/schema.sql

  3. Create Facebook app here

  1. Create Twitter app

  1. Create SlideShare API

  1. Update/modify config.php

  • Copy "lib/config.sample.php" to "config.php".

  • Rename "config.sample.php" to "config.php".

    • Set a key for 'cookie' encryption. define('COOKIE_SECRET_KEY','');

    • Set the admin’s ID and PW. define('ADMIN_ID',''); define('ADMIN_PASSWD','');

    • Set the email address and name. define('EMAIL_FROM_ADDR',''); define('EMAIL_FROM_NAME','');

    • Set the database information. define('DB_HOST',''); define('DB_NAME',''); define('DB_USER',''); define('DB_PASSWD','');

    • Set the Facebook App ID and App secret code. define('FACEBOOK_APPID', ''); define('FACEBOOK_SECRET', ''); define('FACEBOOK_CALLBACK', 'http://'.$_SERVER['SERVER_NAME'].'/member/oauth/facebook/callback.php');

    • Set the Twitter Consumer Key and Consumer Secret. define('CONSUMER_KEY', ''); define('CONSUMER_SECRET', ''); define('TWITTER_CALLBACK', 'http://'.$_SERVER['SERVER_NAME'].'/member/oauth/twitter/callback.php');

    • Set the SlideShare API. define('SLIDESHARE_KEY', ''); define('SLIDESHARE_SECRET', '');