Changeset View
Changeset View
Standalone View
Standalone View
docs/developer-setup.rst
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Lines | |||||
need to have nodejs >= 12 in your development environment. If the version in your | need to have nodejs >= 12 in your development environment. If the version in your | ||||
Debian-based distribution is lower, you can install node 12 using these commands:: | Debian-based distribution is lower, you can install node 12 using these commands:: | ||||
sudo wget https://deb.nodesource.com/gpgkey/nodesource.gpg.key -O /etc/apt/trusted.gpg.d/nodesource.asc | sudo wget https://deb.nodesource.com/gpgkey/nodesource.gpg.key -O /etc/apt/trusted.gpg.d/nodesource.asc | ||||
echo "deb https://deb.nodesource.com/node_12.x $(lsb_release -cs) main" | sudo tee -a /etc/apt/sources.list.d/nodesource.list | echo "deb https://deb.nodesource.com/node_12.x $(lsb_release -cs) main" | sudo tee -a /etc/apt/sources.list.d/nodesource.list | ||||
sudo apt update | sudo apt update | ||||
sudo apt install nodejs | sudo apt install nodejs | ||||
If you intend to work on |swh| archive search features, Elasticsearch must also be | |||||
present in your development environment. Proceed as follows to install it:: | |||||
sudo wget https://artifacts.elastic.co/GPG-KEY-elasticsearch -O /etc/apt/trusted.gpg.d/elasticsearch.asc | |||||
echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elasticsearch.list | |||||
sudo apt update | |||||
sudo apt install elasticsearch | |||||
.. _checkout-source-code: | .. _checkout-source-code: | ||||
Checkout the source code | Checkout the source code | ||||
------------------------ | ------------------------ | ||||
Clone the |swh| environment repository:: | Clone the |swh| environment repository:: | ||||
~$ git clone https://forge.softwareheritage.org/source/swh-environment.git | ~$ git clone https://forge.softwareheritage.org/source/swh-environment.git | ||||
▲ Show 20 Lines • Show All 184 Lines • Show Last 20 Lines |