README.rst
52 lines
| 1.0 KiB
| text/x-rst
|
RstLexer
/ pkgs / README.rst
r2824 | ||||
============================== | ||||
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: | ||||
.. code:: shell | ||||
nix-shell pkgs/shell-generate.nix | ||||
Python dependencies | ||||
=================== | ||||
.. code:: shell | ||||
pip2nix generate --licenses | ||||
# or | ||||
nix-shell pkgs/shell-generate.nix --command "pip2nix generate --licenses" | ||||
NodeJS dependencies | ||||
=================== | ||||
.. code:: shell | ||||
r2924 | 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 " | ||||
r2824 | ||||
Bower dependencies | ||||
================== | ||||
.. code:: shell | ||||
nix-shell pkgs/shell-generate.nix --command "bower2nix bower.json pkgs/bower-packages.nix" | ||||
.. Links | ||||
.. _RhodeCode Enterprise CE: https://code.rhodecode.com/rhodecode-enterprise-ce | ||||