Skip to content
This repository has been archived by the owner on May 23, 2021. It is now read-only.

ahutchings/kohana-modules.com

Repository files navigation

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.