Giter VIP home page Giter VIP logo

packager-web's Introduction

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.

packager-web's People

Contributors

timwienk avatar kamicane avatar w00fz avatar thisconnect avatar

Stargazers

曹文忠 avatar Saúl Rodríguez avatar Nicolas Badey avatar Ger Hobbelt avatar Christopher Beloch avatar Noritaka Horio avatar flossy avatar  avatar  avatar Arian Stolwijk avatar Serhiy Dmytriv avatar Qasim Alyas avatar Cody Olsen avatar Darren Waddell avatar Enrique Erne avatar Fabio M. Costa avatar Aaron Newton avatar  avatar Tom Aylott avatar

Watchers

James Cloos avatar  avatar  avatar

packager-web's Issues

fails to load Class.Extras by Web API

Problem: fails to load Class.Extras by Web API /packager-web/core/Class.Extras

Easy but incorrect fix to make Class.Extras available is to add Class.Extras to provides

Core/Class.Extras:
old: provides: [Chain, Events, Options]
new: provides: [Class.Extras, Chain, Events, Options]

packager doesn't allow trailing commas in yaml

dunno if this is in a 3rd party yaml parser or what, but whatever packager is using it's not following the spec which allows for trailing commas. If you have a package yaml that lists assets like so:

sources: [
foo.js,
bar.js,
baz.js,
]

packager won't be able to find baz.js because it'll look for baz.js,

It's not a big deal, and if the problem is in a 3rd party parser just close this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.