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 etherpad-lite-%{version}_node_modules.tar.xz tarball, please follow the steps below: 1) download and unpack the main package: 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) cd into the src directory: cd src 5) fix found vulnerabilities: npm audit fix (you might need to run: 'npm audit fix --force' here - watch the output!) 5a) you might want to clean up some hidden directories/files or other stuff that is not needed later ... 6) Create a new base directory and copy over the node_modules folder: mkdir ../etherpad-lite-%{version}_node_modules cp -a src/node_modules ../etherpad-lite-%{version}_node_modules/ cp src/{package.json,package-lock.json} ../etherpad-lite-%{version}_node_modules/ 7) Create a tarball out of the new base directory: cd .. tar -cvJf etherpad-lite-%{version}_node_modules.tar.xz etherpad-lite-%{version}_node_modules/
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