]> Raphaƫl G. Git Repositories - packer/blob - README.md
78449ebcf2fb4934cd7955144258a95fda1ca1ab
[packer] / README.md
1 Contribute
2 ==========
3
4 You may buy me a Beer, a Tea or help with Server fees with a paypal donation to
5 the address <paypal@rapsys.eu>.
6
7 Don't forget to show your love for this project, feel free to report bugs to
8 the author, issues which are security relevant should be disclosed privately
9 first.
10
11 Patches are welcomed and grant credit when requested.
12
13 Installation
14 ============
15
16 Install local binary
17 --------------------
18
19 You need to have cpack and jpack scripts from this repository
20 set as executable and installed in /usr/local/bin.
21
22 ### Step 1: Install the required perl packages
23
24 To install cpack and jpack required packages open a root console and execute
25 the following command:
26
27 ```console
28 # urpmi perl-base perl-CSS-Packer perl-JavaScript-Packer
29 ```
30
31 or stone age distributions:
32
33 ```console
34 # apt-get install libcss-packer-perl libjavascript-packer-perl
35 ```
36
37 or other distributions through cpan:
38
39 ```console
40 # cpan App::cpanminus
41 # cpanm CSS::Packer
42 # cpanm JavaScript::Packer
43 ```
44
45 ### Step 2: Install the binaries
46
47 To install cpack and jpack binaries open a root console and execute the
48 following command:
49
50 ```console
51 # cp cpack jpack /usr/local/bin/
52 ```
53
54 Use local binary
55 ----------------
56
57 To use local binaries you may execute the following commands:
58
59 ```console
60 # cpack < input.css > output.css
61 ```
62
63 ```console
64 # jpack < input.js > output.js
65 ```