##// END OF EJS Templates
diffs: don't use highlite on the new ops lines
diffs: don't use highlite on the new ops lines

File last commit:

r3073:73a2f607 default
r3082:25ff4b81 default
Show More
README.rst
60 lines | 1.3 KiB | text/x-rst | RstLexer

Generate the Nix expressions

Details can be found in the repository of RhodeCode Enterprise CE inside of the file docs/contributing/dependencies.rst.

Start the environment as follows:

nix-shell pkgs/shell-generate.nix

Python dependencies

pip2nix generate --licenses
# or
nix-shell pkgs/shell-generate.nix --command "pip2nix generate --licenses"

NodeJS dependencies

rm -rf node_modules
nix-shell pkgs/shell-generate.nix --command "
    node2nix --input package.json \
             -o pkgs/node-packages.nix \
             -e pkgs/node-env.nix \
             -c pkgs/node-default.nix \
             -d --flatten --nodejs-6 "

Bower dependencies

nix-shell pkgs/shell-generate.nix --command "bower2nix bower.json pkgs/bower-packages.nix"

Generate license data

nix-build pkgs/license-generate.nix -o result-license && cat result-license/licenses.json | python -m json.tool > rhodecode/config/licenses.json