PHP JavaScript CSS Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
application
conf
modules
public
.bowerrc
.editorconfig
.gitignore
.gitmodules
LICENSE.md
Procfile
README.md
app.json
bower.json
composer.json
composer.lock
minion

README.md

kohana-modules.com

This is the source for kohana-modules.com.

Installing

  • Create a MySQL user and database to use with the application.
  • Modify the application/config files to match your local environment.
  • Create database tables with ./minion migrations:run.
  • Configure your web server to serve the application.
  • Generate an OAuth token so that the app can make more than 60 requests/hour:

curl -u YOUR_USERNAME -d '{"scopes":[],"note":"YOUR_DEV_HOSTNAME"}' https://api.github.com/authorizations

An example Apache VirtualHost entry:

<VirtualHost *:80>
    ServerName kohana-modules.localhost
    DocumentRoot "/srv/www/kohana-modules.com"

    SetEnv KOHANA_ENV development
    SetEnv DB1_HOST 127.0.0.1
    SetEnv DB1_NAME kohana-modules
    SetEnv DB1_USER kohana-modules
    SetEnv DB1_PASS kohana-modules
    SetEnv GITHUB_OAUTH_TOKEN YOUR_GENERATED_TOKEN

    <Directory "/srv/www/kohana-modules.com">
        Order allow,deny
        Allow from all
        Options FollowSymLinks
        AllowOverride All
    </Directory>
</VirtualHost>

Using

To import new modules from the modules repository on GitHub, run ./minion module:import from the project root.

To update module metadata from GitHub, run ./minion module:sync.

To add new Kohana-related repositories to the moderation queue, run ./minion module:discover. Modules must be manually inspected and added to the modules repository.

Adding new modules to kohana-modules.com

To add a new module, please fork the modules repository and add the module as a submodule, then send a pull request.