mirror of
https://github.com/frappe/bench.git
synced 2024-09-23 12:39:01 +00:00
added acrhive instructions
This commit is contained in:
parent
242e3c4add
commit
930796aebb
@ -6,18 +6,18 @@ To prepare your environment for building .deb package install instruments: <br>
|
|||||||
This build uses <i>dh-virtualenv</i>. For installation please follow the [tutorial] (http://dh-virtualenv.readthedocs.org/en/0.10/tutorial.html)
|
This build uses <i>dh-virtualenv</i>. For installation please follow the [tutorial] (http://dh-virtualenv.readthedocs.org/en/0.10/tutorial.html)
|
||||||
|
|
||||||
To build debian package from scratch: <br>
|
To build debian package from scratch: <br>
|
||||||
1) make working directory (basically with any name) near archive bench_0.92.orig.tar.gz: <br>
|
1) unpack archive bench_0.92.orig.tar.gz: <br>
|
||||||
`mkdir build_dir` <br>
|
`tar -xf bench_0.92.orig.tar.gz` <br>
|
||||||
2) copy debian directory in there: <br>
|
2) copy debian directory in there: <br>
|
||||||
`cp -r debian/ build_dir/` <br>
|
`cp -r debian/ bench_0.92/` <br>
|
||||||
3) change directory: <br>
|
3) change directory: <br>
|
||||||
`cd build_dir/` <br>
|
`cd bench_0.92/` <br>
|
||||||
4) run package build: <br>
|
4) run package build: <br>
|
||||||
`debuild -us -uc` <br>
|
`dpkg-buildpackage -us -uc` <br>
|
||||||
5) package is: `../bench_0.92_amd64.deb`<br>
|
5) package is: `../bench_0.92_amd64.deb`<br>
|
||||||
<br>
|
<br>
|
||||||
If you don't have `gdebi` installed, first you need to run:<br>
|
If you don't have `gdebi` installed, first you need to run:<br>
|
||||||
`sudo apt-get install gdebi`<br>
|
`sudo apt-get install gdebi-core`<br>
|
||||||
To install resulting package with all it's dependencies: <br>
|
To install resulting package with all it's dependencies: <br>
|
||||||
`sudo gdebi ../bench_0.92_amd64.deb` <br>
|
`sudo gdebi ../bench_0.92_amd64.deb` <br>
|
||||||
Please note that name of package contains your architecture so for 32-bit machines name will differ. <br>
|
Please note that name of package contains your architecture so for 32-bit machines name will differ. <br>
|
||||||
|
Loading…
Reference in New Issue
Block a user