Changeset View
Changeset View
Standalone View
Standalone View
docs/developer-setup.rst
Show All 24 Lines | |||||
package manager [1]. On Debian/Ubuntu-based distributions:: | package manager [1]. On Debian/Ubuntu-based distributions:: | ||||
sudo wget https://www.postgresql.org/media/keys/ACCC4CF8.asc -O /etc/apt/trusted.gpg.d/postgresql.asc | sudo wget https://www.postgresql.org/media/keys/ACCC4CF8.asc -O /etc/apt/trusted.gpg.d/postgresql.asc | ||||
echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" | sudo tee -a /etc/apt/sources.list.d/pgdg.list | echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" | sudo tee -a /etc/apt/sources.list.d/pgdg.list | ||||
sudo wget https://downloads.apache.org/cassandra/KEYS -O /etc/apt/trusted.gpg.d/cassandra.asc | sudo wget https://downloads.apache.org/cassandra/KEYS -O /etc/apt/trusted.gpg.d/cassandra.asc | ||||
echo "deb https://downloads.apache.org/cassandra/debian 40x main" | sudo tee -a /etc/apt/sources.list.d/cassandra.list | echo "deb https://downloads.apache.org/cassandra/debian 40x main" | sudo tee -a /etc/apt/sources.list.d/cassandra.list | ||||
sudo apt update | sudo apt update | ||||
sudo apt install \ | sudo apt install \ | ||||
python3 python3-pip python3-venv virtualenvwrapper \ # Python dev tools | build-essential pkg-config lzip rsync \ | ||||
build-essential pkg-config lzip \ # basic system utilities | python3 python3-pip python3-venv virtualenvwrapper \ | ||||
libpython3-dev libsystemd-dev libsvn-dev \ # Python libraries build deps | libpython3-dev libsystemd-dev libsvn-dev fuse3 libfuse3-dev \ | ||||
git myrepos \ # manage repositories | git myrepos \ | ||||
postgresql libpq-dev \ # main database | postgresql-autodoc graphviz plantuml inkscape \ | ||||
cassandra \ # alternative main database | postgresql libpq-dev cassandra | ||||
postgresql-autodoc graphviz plantuml inkscape \ # for documentation | |||||
fuse3 libfuse3-dev # FUSE interface | |||||
[1] python3.7 runtime version is the minimum required | [1] python3.7 runtime version is the minimum required | ||||
This installs basic system utilities, Python library dependencies, development tools, | |||||
documentation tools and our main database management systems. | |||||
Cassandra and postgresql will be started by tests when they need it, so you | Cassandra and postgresql will be started by tests when they need it, so you | ||||
don't need them started globally (this will save you some RAM):: | don't need them started globally (this will save you some RAM):: | ||||
sudo systemctl stop postgresql | sudo systemctl stop postgresql | ||||
sudo systemctl disable postgresql | sudo systemctl disable postgresql | ||||
sudo systemctl stop cassandra | sudo systemctl stop cassandra | ||||
sudo systemctl disable cassandra | sudo systemctl disable cassandra | ||||
▲ Show 20 Lines • Show All 182 Lines • Show Last 20 Lines |