Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

the first web app ever that uses packager

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 assets
Octocat-spinner-32 controllers
Octocat-spinner-32 libs
Octocat-spinner-32 views
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .gitmodules
Octocat-spinner-32 .htaccess
Octocat-spinner-32 README.md
Octocat-spinner-32 config.yml.example
Octocat-spinner-32 index.php
Octocat-spinner-32 license.txt
README.md

Packager Web

Packager Web is a web application that uses Packager to download scripts, frameworks, plugins and the likes that follow the MooTools-like package.yml manifest and yaml headers syntax.

Installation

git clone git://github.com/kamicane/packager-web.git
git submodule init
git submodule update

Configuration

The easiest way to get started is to copy the config.yml.example to config.yml. Most of the things will work out of the box, except for the packages and possibly the compression. For he packages, just provide paths to the package.yml files, like this:

- "/Users/kamicane/Sites/mootools-core/package.yml"
- "/Users/kamicane/Sites/mootools-more/package.yml"
- "/Users/kamicane/Sites/some-plugin/package.yml"

For the compressor, you have to specify the path to the compressor, in which {FILE} will be replaced with the path to the actual temporary file. The temporary file will be created in the directory specified as tmpdir. You can leave the compressor option empty, and remove it from the buttons option to just disable it.

Keep in mind this has to be valid yaml. Use two spaces before the dash in lists, not a tab. If you get a PHP exception, it means some of the specified paths don't exist, or are not parsable by Packager.

Web Interface

Point your web browser to http://localhost/packager-web/. Select the desired components and click download. A file will be downloaded. Enjoy.

Something went wrong with that request. Please try again.