Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:infrastructure
etherpad-lite
etherpad-lite-README.openSUSE
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File etherpad-lite-README.openSUSE of Package etherpad-lite
= For packagers = Etherpad needs a lot of additional node modules to run. Sadly, those node modules (with all their additional dependencies) are hard to package on their own. So we decided to package the needed node modules right beside the main package - and use an own tarball for them. To create this vendor.tar.xz tarball, please follow the steps below: 0) install the pnpm package including nodejs on your system 1) download and unpack the main package: curl -Lo etherpad-lite-%{version}.tar.gz https://github.com/ether/etherpad-lite/archive/refs/tags/v%{version}.tar.gz tar -xf etherpad-lite-%{version}.tar.gz 2) change into the new directory: cd etherpad-lite-%{version} 3) execute the 'installDeps.sh' script: bin/installDeps.sh 4) clean up trash: find . -name '*musl*' -prune -execdir rm -r {} + find . -type f -name '*.c' -delete find . -type f -name '.*' -delete 5) create the new vendor archive: tar -cJf ../vendor.tar.xz node_modules/ src/node_modules/ TODO: - Which other bloat can be removed from node_modules before packing it? I guess only a fraction of this ~500M pile of random code is actually used. - Minify stuff as part of build process (by default it starts compressing things on the first HTTP request to a pad).
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor