You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
jebba 8f8a5119bb Build package on Debian Buster 5 months ago
.github Increase timeout for backend tests to 60 mins 6 months ago
docs Coinbasepro: Query orders and then all fills for their product ids 6 months ago
frontend Moves rounding settings under amount settings 6 months ago
packaging Adds an extra entitlement for the backend 7 months ago
rotkehlchen Coinbasepro: Query orders and then all fills for their product ids 6 months ago
stubs/Crypto Activate some more mypy rules and start using stubs 2 years ago
tools Handle deserialization errors 6 months ago
.bumpversion.cfg Bump version: 1.15.1 → 1.15.2 6 months ago
.codecov.yml Moves electron-app to frontend/app (#1041) 1 year ago
.coveragerc Add codecov coverage report 3 years ago
.dockerignore Fixes docker version being off 7 months ago
.gitattributes Adds fts3 flags to windows build 11 months ago
.gitignore Fixes sqlcipher and libcrypto packaging 11 months ago
.ignore Data faker now includes binance and can generates random trade pairs 3 years ago
.pylint.rc Specify ignored pylint rules 9 months ago
CONTRIBUTING.md Update link to docs 2 years ago
Dockerfile Updates CI to use node 14 and npm 7 6 months ago
LICENSE.md Update copyright to 2021 7 months ago
Makefile Small docker fixes 9 months ago
README-upstream.md deepcrayon rotki fork 5 months ago
README.md Build package on Debian Buster 5 months ago
install_deps.sh Enables packaging for linux and osx 11 months ago
package.ps1 Adds minimum visual studio version to ps1 6 months ago
package.sh Updates CI to use node 14 and npm 7 6 months ago
pytestgeventwrapper.py Propagate the exit code at pytestgeventwrapper 2 years ago
requirements.txt Use beautiful soup instead of regex for beaconcha.in scraping 7 months ago
requirements_dev.txt Update ethereum requirements 8 months ago
requirements_docs.txt Bump sphinx version 2 years ago
requirements_lint.txt Upgrade flake8 and its modules 6 months ago
rotkehlchen.spec Fix uniswap lp tokens inclusion in packaged version 10 months ago
setup.cfg Some more type definitions after putting __init__.py everywhere 1 year ago
setup.py Bump version: 1.15.1 → 1.15.2 6 months ago

README.md

Fork

Fork of Rotki.

Install

Install dependencies.

# sqlcipher. Debian Buster/Bullseye have ver 3, docs say ver 4 needed ?
sudo apt-get -y install libsqlcipher-dev

# npm
# Install npm version 7. In Buster backports and Bullseye.
sudo apt-get -y  install -t buster-backports npm
# or
sudo apt-get -y install npm
# Update... XXX cruftay
sudo mkdir /usr/local/lib/node_modules
sudo chown jebba:jebba /usr/local/lib/node_modules
sudo chown jebba:jebba /usr/local/bin
cd ~
npm install -g npm@7
# Ok, lets blow out the old one now... XXX
sudo apt-get autoremove npm

# nodejs
# Install nodejs. Ver 10.24.0 in Buster, 12.21.0 in Bullseye.
# >=14 <15 of node is required.
npm install -g node@14

Build Rotki.

git clone https://spacecruft.org/deepcrayon/rotki/
cd rotki
cd frontend/app
npm ci

cd ../..
sudo apt-get -y install python3-pip python3-virtualenv virtualenv
virtualenv --python /usr/bin/python3 .
source bin/activate
pip3 install -r requirements.txt
pip3 install -r requirements_dev.txt
pip3 install -e .

Run Rotki.

# more deps... XXX
sudo apt-get -y install libxshmfence1 libnss3 libatk1.0 libatk-bridge2.0-0 libdrm2 libgdk-pixbuf2.0-0 libgtk-3-0 libgbm1 libasound2 xauth
cd frontend/app
npm run electron:serve

Build Package.

# deps...
sudo apt install libssl-dev tcl tcl-dev libreadline-dev
cd
git clone https://github.com/sqlcipher/sqlcipher
cd sqlcipher

./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS" LDFLAGS="-lcrypto"

make
sudo make install
sudo ldconfig

cd ../rotki
virtualenv --python /usr/bin/python3 .
source bin/activate
./package.sh

Docker.

# Docker isn't required.
sudo apt-get remove docker docker-engine docker.io containerd runc

sudo apt-get -y install apt-transport-https ca-certificates curl gnupg lsb-release

curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

echo \
  "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \
  $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

sudo apt-get update
sudo apt-get -y install docker-ce docker-ce-cli containerd.io

sudo adduser jebba docker

newgrp docker

Upstream

See README-upstream.md. Upstream Rotki repo: